We Are Calculator logoWe Are Calculator
Free calculator widget

Free retirement income (how long will my money last) calculator widget for your website

This retirement income calculator widget shows how many years savings will last at a given spending level, after inflation, taxes on withdrawals and Social Security.

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?

Model retirement drawdown to depletion.

What visitors enter

  • Current Retirement Savings
  • Annual Spending Need (today's dollars)
  • Current Age
  • Expected Annual Return (%)
  • Inflation Rate (%)
  • Effective Tax Rate on Withdrawals (%)
  • Social Security (monthly)
  • Social Security Starts at Age

Worked example

Example inputs and results for the How Long Will My Money Last
Current Retirement Savings$750,000
Annual Spending Need (today's dollars)$60,000
Current Age65
Expected Annual Return (%)6%
Inflation Rate (%)3%
Effective Tax Rate on Withdrawals (%)0%
Social Security (monthly)$0
Portfolio Depletes AtAge 80
First-Year Portfolio Draw$60,000
Total Withdrawn$1,135,541

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 income (how long will my money last) calculator on their website?

Retirees worry most about running out of money. Showing the age their savings run out, and how Social Security changes it, leads to a real income-planning conversation.

  • Financial advisors and RIAs
  • Annuity and retirement income specialists

What should I put next to the retirement income (how long will my money last) 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?

How Long Will My Money Last? The Method Behind the Number

Portfolio longevity is a race between two forces: the return your savings earn and the withdrawals you take out. Because withdrawals must rise with inflation just to buy the same groceries each year, while returns are uncertain, the answer is never simply "portfolio ÷ spending."

This calculator models the drawdown year by year, using the conventional sequence:

Each Year

1. Withdraw: Spending − Social Security (grossed up for taxes)

2. Remaining balance grows: Balance × (1 + return)

3. Next year's spending rises: Spending × (1 + inflation)

Repeat until the balance reaches zero.

Worked example. A $750,000 portfolio, $60,000/year of spending, a 6% return and 3% inflation, no Social Security:

Year 1: withdraw $60,000 → $690,000 → grows 6% → $731,400

Year 2: withdraw $61,800 → $669,600 → grows 6% → $709,776

Year 3: withdraw $63,654 → $646,122 → grows 6% → $684,889

Depletes during year 16 — at about age 80

Notice the trap in the first year: the balance actually grew from $750,000 to $731,400 after a $60,000 withdrawal — returns nearly covered the draw. That early illusion of sustainability is why an 8% initial withdrawal rate still looks fine for several years before the inflation-adjusted withdrawals overtake the returns. The Safe Withdrawal Rate calculator tests the same portfolio against the 4% benchmark, and our guide to the 4% rule walks through the research behind it.

One important limitation: this model applies a steady average return every year. Real markets do not. See the sequence-of-returns section below for why that matters, and treat the output as a planning estimate rather than a forecast.

The embedded version runs the same code as the How Long Will My Money Last 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/how-long-will-my-money-last?client=YOUR-ID" width="100%" height="760" scrolling="auto" style="border:0;" title="How Long Will My Money Last" 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 include Social Security?

Yes. Visitors enter a monthly benefit and the age it starts.

Does it adjust spending for inflation?

Yes. Spending is entered in today's dollars and rises with the inflation rate each year.

Is the retirement income (how long will my money last) 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.