Embed Compare Two Stocks

Two stocks or funds on the same dates with the same money: what each became, its worst fall and how long it took to recover. Free to use on any site, with one line of HTML and nothing to sign up for.

Live preview

This is the real widget. Try changing the numbers.

Comparison by smartfin.fyi

Copy this

<iframe src="https://smartfin.fyi/embed/compare-two-stocks.html"
        width="100%" height="910" style="border:0"
        title="Compare Two Stocks" loading="lazy"></iframe>
<p style="font-size:12px;margin:6px 0 0">Comparison by <a href="https://smartfin.fyi/compare-two-stocks.html">smartfin.fyi</a></p>

Notes

Terms: there aren't many. Use it on any site, including commercial ones, at no cost. We may improve the calculator over time, so the embedded version can change. If it ever needs to be retired, this page will say so first.

The full version

The complete Compare Two Stocks on smartfin.fyi adds a chart of both, the value at each year end, what the figures mean and the full method.

Other calculators you can embed

Investment growth calculator Compound interest calculator Mortgage calculator Car loan calculator Student loan calculator Refinance calculator Mortgage payoff calculator Down payment calculator CAGR calculator Rule of 72 calculator Inflation calculator FIRE calculator Withdrawal planner Savings vs investing calculator Rent vs buy calculator Simple interest calculator Future value calculator Present value calculator ROI calculator Profit margin calculator