Compound Interest Calculator (Notebook Template)
Compute compound interest with adjustable principal, rate, compounding frequency, and time. Includes sanity checks and what to verify.
What this template does
This is a ready-to-run GetCalcMaster Notebook starter. Open it into Notebook, run once with defaults, then tweak inputs and keep your assumptions next to the math.
How to use it (recommended)
- Open in Notebook.
- Run once with defaults to confirm baseline output.
- Set P (principal), r (annual rate), n (compounds/year), and t (years).
- Compare compound vs simple interest as a sanity check.
- Snapshot the final result with your assumptions.
Tip: When a result matters, verify it twice: a unit check + a second method (graph/estimate).
Preview (first cells)
This preview is for readability. The full template loads into Notebook when you click Open.
TEXT
# Compound Interest Calculator (Notebook) This template calculates **compound interest**: - **P** = principal (starting amount) - **r** = annual rate (as a decimal, e.g. 0.06) - **n** = compounding periods per year (e.g. 12 for monthly) - **t** = years **Educational use:** real accounts may include fees, taxes, or variable rates.
MATH
P = 10000
MATH
r = 0.06 # annual rate
MATH
n = 12 # compounding periods per year
MATH
t = 5 # years
MATH
A = P * (1 + r/n)^(n*t)