Copy · Paste · Done

Free dividend calculator widgets for any website

Five interactive dividend tools your readers can actually use — every widget previewed live below with copy-paste embed code, URL parameters, and an auto-resize script. No signup, no API key, no rate limit.

Dividend IncomeDRIP SimulatorRetirement PlannerAdvanced Dividend CalculatorRetire on Dividends
5
free widgets
<60s
to embed
0
dependencies
100%
free forever
IncomePopular

Dividend Income Calculator

Let readers project monthly and annual dividend income from any investment, with growth and tax assumptions built in.

  • Inputs: investment, price, dividend, frequency
  • Tax + dividend-growth assumptions
  • 10-year projection table
<iframe
  src="https://heydividend.io/embed/dividend-income"
  width="100%" height="640" frameborder="0"
  loading="lazy"
  title="HeyDividend dividend-income calculator"
  style="border:none;border-radius:10px;">
</iframe>
URL parameters (10) · sample: /embed/dividend-income?investment=25000&price=150&dividend=1.0&frequency=quarterly&growth=5&tax=15
ParameterTypeDefaultDescription
investmentnumber10000Initial investment amount ($)
pricenumberShare price ($)
dividendnumberDividend per share ($)
frequencystringquarterlymonthly, quarterly, semi-annual, annual
growthnumber5Annual dividend growth rate (%)
taxnumber15Tax rate on dividends (%)
themestringlightlight or dark
DRIP · Popular

DRIP Simulator

Show readers how reinvesting dividends compounds over 1–30 years. Animated share growth and total return.

  • 1–30 year compound projections
  • Dividend + share price growth
  • Optional monthly contributions
Retirement

Retirement Planner

Help readers calculate the dividend portfolio they need to cover monthly expenses in retirement.

  • Inflation-adjusted target portfolio
  • Safe withdrawal rate + yield inputs
  • Years-to-retirement readout
Advanced

Advanced Dividend Calculator

The full-featured calculator. DRIP, tax, three dividend methods, and multi-year projections in one widget.

  • Three dividend methods (last, avg, yield)
  • Toggle DRIP on/off
  • Tax + multi-year compound model
Financial Independence

Retire on Dividends

Replace employment income with dividends. Track years-to-FI and the contribution required to get there.

  • 50–100% income replacement target
  • Yield + dividend growth assumptions
  • Final portfolio value readout

How to embed

Three steps. Under 60 seconds.

01

Pick a widget

Browse the five live previews above and choose the calculator that matches your post or page.

02

Copy the embed code

Use the basic <iframe>, the auto-resizing JS snippet, or a pre-filled example URL — whichever fits.

03

Paste anywhere HTML works

WordPress Custom HTML, Squarespace code block, Webflow embed, Ghost, Wix, Substack — all supported.

Optional · One-line install

Auto-resize script

Drop this script into your page once and every embedded HeyDividend widget will follow its own content height — no scrollbars, no fixed heights, no jumpy iframes. Safe to include even if you only embed one calculator.

<script>
(function() {
  window.addEventListener('message', function(e) {
    if (e.data && e.data.type === 'heydividend-widget-resize') {
      var iframes = document.querySelectorAll('iframe[src*="heydividend"]');
      for (var n = 0; n < iframes.length; n++) {
        if (iframes[n].contentWindow === e.source) {
          iframes[n].style.height = e.data.height + 'px';
        }
      }
    }
  });
})();
</script>

Who it's for

Built for income-focused publishers

Finance bloggers

Add interactive calculators to dividend stock reviews. Increase time-on-page and reader engagement.

Financial advisors

Embed retirement and income calculators on your practice site. Help prospects model income before the first call.

Any platform

Works with WordPress, Squarespace, Wix, Ghost, Webflow — anywhere that supports HTML.

FAQ

Frequently asked questions

Everything you need to know about embedding the widgets.

Are the dividend calculator widgets free to use?
Yes — all five widgets are completely free to embed on any website, blog, or product. There are no API keys, no account required, no rate limits, and no premium tiers for widget access. The only requirement is the small "Powered by HeyDividend" attribution link built into the footer of each widget.
How do I embed a dividend calculator on my website?
Copy the iframe embed code from any widget section above, then paste it into your HTML or your CMS's code block. The calculator renders immediately — no JavaScript setup, no plugins, no dependencies.
Can I pre-fill the calculator with specific values?
Yes. Every numeric input is URL-controllable via query parameters. See the parameter reference table under each widget for the full list of supported inputs.
Do the widgets support a dark theme?
Yes. Append ?theme=dark to any embed URL to switch to a dark background. The dark theme applies to the full widget — backgrounds, inputs, labels, buttons, and the attribution footer all invert cleanly.
Will the iframe auto-resize to fit its content?
Yes. Every widget broadcasts its rendered height to the parent page via window.postMessage. Drop the one-line auto-resize script into your page once, and every embedded HeyDividend calculator will stretch to its full content height automatically.
Are the projections financial advice?
No. All five calculators produce projections based on the inputs you provide using standard financial formulas. They are educational tools — not personalised financial advice.

Beyond the widgets

Want the AI behind these calculators?

The widgets are the static math. HeyDividend AI runs the same models against your real portfolio, with cut-risk alerts and personalized research on top.

See pricing Sign up free →