Answer: Simple interest = principal × rate × time ÷ 100. Add it to the principal for the total amount.
This is simple (not compound) interest. Nothing leaves your browser.