We Are Calculator logoWe Are Calculator
Free calculator widget

Free compound interest calculator widget for your website

This compound interest calculator widget shows how a balance grows with monthly contributions and compounding, side by side with simple interest.

By Robinjit Singh. Updated . Checked against IRS, CFPB, and SSA data, see our sources.

Key facts

Price

Free plan, or $89/month for 5 calculators

Install

Copy and paste one embed code

Branding

Your logo and colors, no ads

Leads

Dashboard, email, webhook, HubSpot or Zapier

What does it calculate?

Simple vs Compound interest.

What visitors enter

  • Principal Amount
  • Annual Interest Rate (%)
  • Monthly Contribution (optional)
  • Time Period (Years)
  • Compounding Frequency

Worked example

Example inputs and results for the Interest Calculator
Principal Amount$10,000
Annual Interest Rate (%)5%
Monthly Contribution (optional)$0
Time Period (Years)10
Compounding FrequencyMonthly
Compound Interest Balance$16,470
Simple Interest Balance$15,000
Compound Interest Earned$6,470
Simple Interest Earned$5,000
Extra From Compounding$1,470

Worked out by the calculator’s own code with its default inputs. An example, not advice.

Live demo

This is the same calculator your visitors would use. On your site it carries your logo and colors, and a form under the result lets visitors send you their numbers.

Who puts a compound interest calculator on their website?

Seeing compound and simple interest next to each other is one of the clearest money lessons there is. It suits savings pages, financial literacy programs and advisor blogs.

  • Banks and credit unions
  • Financial advisors
  • Financial education sites and schools

What should I put next to the compound interest calculator?

The calculator answers the number. The page around it should say what the number means at your business and what to do next. This is guidance, not legal advice.

  • A disclosure

    A line that returns are estimates; for deposit products, your current APY, the date, and any minimum balance or early-withdrawal terms.

  • One clear next step

    “Open a certificate”, “Open a savings account” or “Talk to an advisor”.

  • Your own figures

    Your current rates for each term, so a member can type in a real figure.

How is it calculated, and is it accurate?

Checked against SEC Investor.gov, What is compound interest? (annual compounding example; Rule of 72: divide 72 by the rate) on October 2, 2026.

Simple and Compound Interest Formulas

The two interest formulas produce dramatically different outcomes, especially over longer time horizons. Both are presented with standard derivations and worked examples using realistic rates.

Simple Interest Formula

I = P × r × t

A = P + I = P × (1 + r × t)


P = Principal amount

r = Annual interest rate (decimal form)

t = Time in years


Example: $25,000 at 5.50% simple interest for 5 years

I = $25,000 × 0.055 × 5 = $6,875

A = $25,000 + $6,875 = $31,875

Compound Interest Formula

A = P × (1 + r/n)^(n×t)

I = A − P


P = Principal

r = Annual nominal interest rate (decimal)

n = Compounding periods per year

(n=1: annual | n=4: quarterly | n=12: monthly | n=365: daily)

t = Time in years


Example: $25,000 at 5.50% compounded monthly for 5 years

A = $25,000 × (1 + 0.055/12)^(12×5)

A = $25,000 × (1.004583)^60

A = $25,000 × 1.3209 = $33,023

I = $33,023 − $25,000 = $8,023

Extra $1,148 vs. simple interest (16.6% more earnings)

Annual Percentage Yield (APY) from Nominal Rate

APY = (1 + r/n)^n − 1


Example: 5.50% nominal rate, daily compounding

APY = (1 + 0.055/365)^365 − 1 = 5.654%


Example: 5.50% nominal, monthly compounding

APY = (1 + 0.055/12)^12 − 1 = 5.641%


The gap between APR and APY is the hidden "compounding bonus"

On $100,000: daily vs. annual compounding at 5.50% for 10 years:

Annual: $172,262 | Daily: $173,318 | Difference: $1,056

The Rule of 72 is a quick mental math shortcut for estimating doubling time: divide 72 by the annual compound interest rate to estimate years to double. At 6%, money doubles in roughly 72 ÷ 6 = 12 years. At 9%, it doubles in ~8 years. This rule has been cited in financial literacy materials by the SEC's financial education resources as one of the most useful quick estimates in personal finance.

The embedded version runs the same code as the Interest Calculator on wearecalculator.com. See our sources and changelog.

How do I add it to my website?

Most businesses are live in under ten minutes. If you can paste a YouTube video into your site, you can add a calculator.

  1. Step 1: Create a free account

    Pick the calculator you want and the website it will run on.
  2. Step 2: Add your logo and colors

    The calculator matches your brand, with a small “Powered by We Are Calculator” credit at the bottom.
  3. Step 3: Paste one line of code

    It works in WordPress, Squarespace, Webflow, Shopify or any HTML page.
  4. Step 4: Leads arrive

    Visitors see their result first. If they send the form under it, the lead reaches your dashboard and inbox, and HubSpot, Zapier or a webhook if you connect one.
Step by step for each site builder: install guide.

The code you paste

Your dashboard gives you this code with your own account ID filled in.

<iframe src="https://wearecalculator.com/embed/interest-calculator?client=YOUR-ID" width="100%" height="760" scrolling="auto" style="border:0;" title="Interest Calculator" class="wac-embed" loading="lazy"></iframe>
<script>
(function(){
  if (window.__wacEmbedListenerAdded) return;
  window.__wacEmbedListenerAdded = true;
  window.addEventListener('message', function(e){
    if (e.origin !== 'https://wearecalculator.com') return;
    var d = e.data || {};
    if (typeof d.wacEvent === 'string') {
      var params = { calculator_id: d.calculatorId, calculator_name: d.calculatorTitle };
      window.dataLayer = window.dataLayer || [];
      window.dataLayer.push(Object.assign({ event: 'wac_' + d.wacEvent }, params));
      if (typeof window.gtag === 'function') window.gtag('event', 'wac_' + d.wacEvent, params);
      return;
    }
    if (typeof d.wacEmbedHeight !== 'number') return;
    var frames = document.querySelectorAll('iframe.wac-embed');
    for (var i = 0; i < frames.length; i++) {
      if (frames[i].contentWindow === e.source) {
        frames[i].style.height = d.wacEmbedHeight + 'px';
        break;
      }
    }
  });
})();
</script>

The short script resizes the calculator to fit; your dashboard also has a version without it. Wix and GoDaddy Website Builder are not supported yet.

Pricing

One flat monthly price with 50 leads included. Need more? Add a lead pack. No setup fees, cancel any time.

Free

$0

Free forever. No card required.

  • 1 active calculator
  • 1 website
  • 10 leads per month
  • Never lose a lead: extra leads are saved and wait for you
  • Your logo and brand colour
  • Lead emails with PDF report
  • Email, webhook, HubSpot + Zapier delivery
Start free

Starter

Most popular

$89 USD/month

Billed monthly. Cancel any time.

  • 5 active calculators
  • 1 website
  • 50 leads included, reset each month on your billing date
  • Need more? Lead packs from $25 USD
  • Never lose a lead: extra leads are saved and wait for you
  • Your logo and brand colour
  • Lead emails with PDF report
  • Email, webhook, HubSpot + Zapier delivery
  • Priority email support
Get started

Enterprise

Custom

Custom limits and invoice billing.

  • Custom calculator and lead limits
  • Multiple websites
  • Custom calculators
  • Invoice billing
  • Dedicated support
Contact us

Lead add-on packs

For Starter. Used only after your 50 included leads run out, and they never expire.

+25 leads

$25 USD

$1.00 USD per lead, one-time

+100 leads

$79 USD

$0.79 USD per lead, one-time

+500 leads

$299 USD

$0.60 USD per lead, one-time

Prices in USD. You're never billed for extra leads automatically; packs are only charged when you buy one. See what counts as a lead.

Questions businesses ask

Can the compounding frequency be changed?

Yes. Visitors choose how often interest compounds, such as monthly or yearly.

Does it include regular contributions?

Yes. There is an optional monthly contribution field.

Is the compound interest calculator widget free?

Yes. The Free plan includes 1 calculator on 1 website and up to 10 leads a month, with no card. Starter is $89/month for 5 calculators and 50 leads a month.

Will it show my branding?

Yes. Your logo and brand colors appear on the calculator, with no ads. A small "Powered by We Are Calculator" credit stays at the bottom on every plan.

Want to see it with your branding? Email Robinjit.

See every calculator you can embed →

Ready to try it?

Create your account and embed your first calculator within minutes. A free plan is available, no credit card needed.

Get started

See what counts as a lead, our accessibility statement, the data handling details, our Terms, the License Agreement and Privacy Policy.

Already a customer? See Help & FAQ.

Questions before signing up? Reach out via the contact page.