Embed Calculator Widgets
Free, lightweight iframe widgets for every TradeAndCompound calculator. Copy a snippet, paste it into your HTML, and your visitors get a live trading calculator — no frameworks, no API keys, no signup.
Pip Value Calculator
EmbedMonetary value of 1 pip for any currency pair, lot size, and account currency.
<iframe
src="https://tradeandcompound.com/embed/pip-value"
width="100%"
height="420"
style="border:0;border-radius:12px;overflow:hidden"
loading="lazy"
title="Pip Value Calculator — TradeAndCompound"
></iframe> Default height: 420px. Adjust width and height to fit your layout.
Lot Size Calculator
EmbedRisk-managed position sizing based on account size, stop distance, and tolerance.
<iframe
src="https://tradeandcompound.com/embed/lot-size"
width="100%"
height="520"
style="border:0;border-radius:12px;overflow:hidden"
loading="lazy"
title="Lot Size Calculator — TradeAndCompound"
></iframe> Default height: 520px. Adjust width and height to fit your layout.
Kelly Criterion Calculator
EmbedOptimal risk per trade from win rate and payoff ratio. Full, half, and quarter Kelly.
<iframe
src="https://tradeandcompound.com/embed/kelly-criterion"
width="100%"
height="480"
style="border:0;border-radius:12px;overflow:hidden"
loading="lazy"
title="Kelly Criterion Calculator — TradeAndCompound"
></iframe> Default height: 480px. Adjust width and height to fit your layout.
Risk of Ruin Calculator
EmbedProbability of blowing your account — closed-form + Monte Carlo simulation.
<iframe
src="https://tradeandcompound.com/embed/risk-of-ruin"
width="100%"
height="560"
style="border:0;border-radius:12px;overflow:hidden"
loading="lazy"
title="Risk of Ruin Calculator — TradeAndCompound"
></iframe> Default height: 560px. Adjust width and height to fit your layout.
Quick embed — all widgets
Want all four calculators on one page? Stack the iframe snippets vertically, or use a tab/accordion UI to switch between them. Each widget is independent and loads lazily.
Embed widget questions
Are the embed widgets free to use?
Yes. Every TradeAndCompound calculator widget is free to embed on any website, blog, or trading community. No API key, no signup, no watermark beyond a small 'Powered by TradeAndCompound' link.
How do I embed a calculator on my site?
Copy the iframe code snippet for the calculator you want, paste it into your HTML where you want the widget to appear, and adjust the width and height attributes to fit your layout. That's it — the calculator loads and runs entirely in the iframe.
Can I customize the widget size?
Yes. Change the width and height attributes on the iframe element. The widgets are responsive and adapt to the available width. A minimum width of 320px is recommended for usable input fields.
Do the widgets work on mobile?
Yes. All embed widgets are responsive and work on mobile browsers. The calculator layout stacks vertically on narrow screens and side-by-side on wider ones.
Will the widgets slow down my site?
No. Each widget is a lightweight static page with vanilla JavaScript — no frameworks, no external dependencies, no tracking. The iframe loads independently and does not block your page render.
Can I remove the 'Powered by' link?
The 'Powered by TradeAndCompound' link is the only attribution we ask for in exchange for free embeds. If you need a white-label version for a commercial product, contact us to discuss licensing.