We Are Calculator logoWe Are Calculator
Free calculator widget

Free retirement calculator widget for your website

This retirement calculator widget projects savings at retirement from age, current savings and monthly contributions, and compares it with the nest egg needed for the income the visitor wants.

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?

Comprehensive accumulation plan.

What visitors enter

  • Current Age
  • Retirement Age
  • Life Expectancy
  • Current Savings
  • Monthly Contribution
  • Monthly Income Needed
  • Pre-Retirement Return
  • Post-Retirement Return
  • Inflation Rate

Worked example

Example inputs and results for the Complete Retirement Planner
Current Age35
Retirement Age65
Life Expectancy90
Current Savings$50,000
Monthly Contribution$1,000
Monthly Income Needed$5,000
Pre-Retirement Return7%
Post-Retirement Return4%
Inflation Rate3%
Projected Savings at Retirement$1,625,796
Nest Egg Required$3,218,934
Income Needed at Retirement$12,136/mo
Years in Retirement25
Total Withdrawn in Retirement$2,066,867

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 retirement calculator on their website?

A visible shortfall is the most natural reason for someone to book a planning conversation. That is why retirement calculators are the first tool most advisors put on their site.

  • Financial advisors and RIAs
  • Credit unions
  • 401(k) and benefits providers

What should I put next to the retirement 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 projections are hypothetical, based on the visitor's own assumptions, and are not investment, tax or legal advice. Use the wording your firm has approved.

  • One clear next step

    “Book a review” or a link to your calendar. You can also add a booking link that shows after a visitor sends their results.

  • Your own figures

    A sentence on which assumptions matter most (return, inflation, retirement age), so visitors read the result as a range and not a promise.

How is it calculated, and is it accurate?

The Retirement Projection Formula Explained

Retirement projection uses two compounding calculations in sequence: accumulation (contributions grow toward retirement) and decumulation (savings are drawn down through retirement). Both phases share the same underlying future value mathematics, applied with different variables.

Phase 1 — Accumulation: Future Value of Current Savings + Future Value of Contributions

FV_savings = PV × (1 + r)n

FV_contributions = PMT × [((1 + r)n − 1) / r]

Portfolio at Retirement = FV_savings + FV_contributions

Where:
PV = current savings balance
PMT = monthly contribution (annualized: multiply by 12)
r = annual pre-retirement return (e.g., 0.07 for 7%)
n = years until retirement

Phase 2 — Decumulation: How Many Years Will the Portfolio Last?

Annual_need_real = Annual Spending × (1 + inflation)n

Withdrawal_rate = Annual_need_real / Portfolio_at_Retirement

Portfolio_longevity = ln(Annual_need / (Annual_need − Portfolio × r_post)) / ln(1 + r_post)

Where:
r_post = post-retirement real return (nominal return − inflation)
ln = natural logarithm

A worked example clarifies the math. Suppose a 35-year-old has $75,000 saved, contributes $1,200/month, targets retirement at 65 (n = 30 years), expects a 7% pre-retirement return, a 5% post-retirement return, and 3% inflation. Their annual retirement spending target is $72,000 in today's dollars.

Accumulation: FV_savings = $75,000 × (1.07)³⁰ = $75,000 × 7.612 = $570,900. FV_contributions = $14,400/yr × [(1.07³⁰ − 1) / 0.07] = $14,400 × 94.46 = $1,360,224. Total portfolio at 65: $1,931,124.

Inflation-adjusted spending need at retirement: $72,000 × (1.03)³⁰ = $72,000 × 2.427 = $174,744/year in nominal dollars at retirement. That means a withdrawal rate of $174,744 / $1,931,124 = 9.0% — dangerously high. The calculator immediately flags this and shows the user they need either more contributions, a later retirement date, or lower spending expectations.

Real return (post-retirement) = 5% − 3% = 2%. At a 2% real return with $1.93M and $174,744 annual need, the portfolio lasts approximately 14 years — meaning the portfolio runs out at age 79, short of median life expectancy. The Social Security actuarial tables show a 65-year-old male has a median remaining life expectancy of 17.6 years; female, 20.4 years. This reveals a critical $60,000/year gap that must be closed by saving more or spending less — the calculator's core value proposition.

The IRS 2026 contribution limit of $24,500 for 401(k) plans means the maximum annual tax-advantaged contributions from a single earner are $24,500 (401k) + $7,500 (IRA) = $32,000 — a ceiling that constrains high earners and makes taxable accounts a necessary supplement.

The embedded version runs the same code as the Complete Retirement Planner 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/retirement-planner?client=YOUR-ID" width="100%" height="760" scrolling="auto" style="border:0;" title="Complete Retirement Planner" 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

Does it account for inflation?

Yes. The income goal is in today's dollars and is inflated to the retirement year.

Can I add a consultation link under the result?

Yes. In Branding you can add an optional booking link that appears once a visitor sends their results, and set the form heading and button text.

Is the retirement 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.