The total interest payable on a 30-year $500,000 home loan would be $579,191 - assuming the interest rate never changed from 6% (which is very unlikely).
The initial monthly interest charge would be around $2,465.75, but this would decrease over time.
You could work this out with the following formula:
(Remaining loan value (minus any offset) x interest rate) ÷ days in year = daily interest charge
(500,000 x 0.06) ÷ 365 = $82.19
$82.19 x 30 (days) = $2,465.75