How CalcMyCompound Calculates: Formulas, Conventions and Checks
This page documents exactly how the calculator turns your inputs into a result, so anyone can reproduce or check it. It covers the formulas, the conventions where calculators commonly differ, how we verify the figures in our guides, and every correction we have published.
What the calculator models
CalcMyCompound projects a starting balance, optional regular deposits and optional regular withdrawals at one constant nominal annual rate. It is a deterministic model: the same inputs always give the same result. It does not forecast market returns or reproduce any particular bank’s daily ledger.
Formulas
A balance with no deposits grows as A = P(1 + r/n)^(nt), where P is the starting amount, r the nominal annual rate as a decimal, n the number of compounding periods per year and t the number of years. Continuous compounding uses A = Pe^(rt).
Deposits and withdrawals happen c times a year (52, 26, 12, 4 or 1). Each cash-flow period earns the equivalent periodic yield g, so the compounding frequency and the deposit frequency can differ. A deposit C made at the end of each of N periods grows to C((1 + g)^N − 1)/g; a deposit at the start of each period earns one more period, so the result is multiplied by (1 + g). At a 0% rate the deposits simply add up to C × N.
The effective annual rate, which equals the APY for a deposit account, is (1 + r/n)^n − 1. The real, inflation-adjusted return is (1 + nominal return)/(1 + inflation) − 1, and the inflation-adjusted value of a future balance A after t years is A/(1 + inflation)^t.
An optional annual fee f, a percentage of the balance, is charged every cash-flow period after interest. Each period’s fee is B(1 − (1 − f)^(1/c)) of the balance B, so a balance held for a full year loses exactly f. Reported interest is net of fees, and the fees paid are shown separately.
A = P(1 + r/n)^(nt)
A = P·e^(rt) (n → ∞)
g = (1 + r/n)^(n/c) − 1
g = e^(r/c) − 1 (n → ∞)
FV = C·((1 + g)^N − 1)/g
FV = C·((1 + g)^N − 1)/g·(1 + g)
APY = (1 + r/n)^n − 1
r_real = (1 + r_nominal)/(1 + i) − 1
fee per period = B·(1 − (1 − f)^(1/c))Conventions
Daily compounding uses a 365-day year, so a monthly cash-flow period is 365/12 days. The engine simulates the balance period by period rather than only applying a closed formula, which lets it handle deposits, withdrawals and yearly increases together; with constant inputs it agrees with the closed formulas above.
A yearly increase applies to deposits and withdrawals from the second year onward. Withdrawals cannot take the balance below zero, and the calculator reports the month in which the money runs out. Extra months beyond whole years grow at the same rate; a final partial period earns interest without a cash flow.
The tax option applies the chosen rate once, to positive total interest at the end of the term. It is a simplification for comparison, not a tax calculation. All values are kept at full precision and rounded only for display. A required monthly deposit for a goal is rounded up to the next cent and then replayed through the engine, so it never falls short of the target.
How we check the numbers
Every figure in our guides is recomputed by automated tests before a release. Each test calculates the value independently, from a closed formula or a separate month-by-month loop and, for older examples, from 65-digit decimal references, and compares it with both the text on the page and the calculator’s own engine. A release cannot ship while any figure disagrees.
We publish a set of test cases with their expected results. Each case states every input and the result from an independent calculation, not from the CalcMyCompound engine. You can use the file to check this calculator, a spreadsheet or any other compound interest tool.
Download the test cases (JSON) · DOI 10.5281/zenodo.24422248
We also tested 29 public savings calculators with identical inputs: Same inputs, different answers (2026 study).
Limits
A constant rate cannot show the ups and downs of real investments, the order in which returns arrive, changing account rates, or fees charged as a fixed amount. Results are illustrations of stated assumptions, not forecasts, financial advice or tax advice. Bank statements can differ by cents because of calendar dates, leap years and each institution’s crediting rules.
Reference sources
Definitions follow primary sources: the CFPB for how compound interest and card interest work, Regulation DD Appendix A for the APY calculation, Investor.gov for compounding and the Rule of 72, TreasuryDirect for inflation-protected securities, and the OpenStax Principles of Finance textbook for annuity timing. Each guide lists the sources it relies on.
Corrections log
When we find an error we fix it, record it here with the date, and note it in the affected guide. To report a possible error, use the contact page. Report a correction
All twelve guides reorganized under headings with new worked examples; every figure re-verified by automated tests. In 18 languages, source links that displayed no text now show their names.
Site FAQ rewritten: several earlier “questions” were form labels, two answers were identical, and the “Is it free?” answer referred to another site’s topics.
Advertising and privacy wording corrected in all twenty languages.
Inflation guide corrected: the exact real-return formula replaces subtracting inflation from the rate, and assumptions are stated in full.
Compounding examples recalculated (quarterly, monthly and daily balances, chart and differences); nominal rate and APY distinguished; unsupported statistics and promises removed from eight guides.
Cite this page
- Permanent link
- https://www.calcmycompound.com/en/methodology/
- Last checked
- APA
- Kymata Labs. (2026, November 20). How CalcMyCompound Calculates: Formulas, Conventions and Checks. CalcMyCompound. https://www.calcmycompound.com/en/methodology/
- MLA
- “How CalcMyCompound Calculates: Formulas, Conventions and Checks.” CalcMyCompound, Kymata Labs, 20 Nov. 2026, https://www.calcmycompound.com/en/methodology/.