I don't see anything missing.
(Although your first line includes 1hr which is meaningless)
Water weighs almost 8.4 lbs per gallon and heaters aren't 100 percent efficient.
It takes about 1/2 hour and costs about 90 cents to heat your 5,000 gal pool 5 degrees.