First determine the payment $A$ given the initial principal $G = 80,000$ with yearly interest rate $E = 0.04$ -- so the effective payment (monthly, bi-weekly, etc.) interest rate is $R = 1 + E/W$, where $W$ is the number of payments per year -- over $N = Y W$ payments, where $Y$ is the number of years (typically 15 or 30). Let $P\left(t\right)$ be the principle remaining at the $t$-th payment, so that $P\left(0\right) = G$ and $P\left(N\right) = 0$. Then
$$
\begin{eqnarray}
P\left(1\right) &=& P\left(0\right) R - A = GR - A \\
P\left(2\right) &=& P\left(1\right) R - A = GR^2 - AR - A \\
&...& \\
P\left(t\right) &=& G R^t - A \sum_{k=0}^{t-1} R^k = G R^t - A\left(\frac{R^t-1}{R-1}\right)\\
\end{eqnarray}
$$
Using $P\left(N\right) = 0$:
$$
\begin{eqnarray}
A = G R^N \left(\frac{R-1}{R^N-1}\right)
\end{eqnarray}
$$
The total amount paid over the life of the loan is then $AN$, and the total interest paid is $AN-G$. With W = 12 and Y = 30, it looks like the total interest paid is $57,495.61.
You can actually calculate the total interest paid as a fraction of the loan amount $G$:
$$
\begin{eqnarray}
\frac{AN-G}{G} = \frac{AN}{G} - 1 = N R^N \left(\frac{R-1}{R^N-1}\right) - 1
\end{eqnarray}
$$