Option Radar

Embed the position size calculator on your site

A free F&O position size calculator for your blog, course or trading journal: paste two lines of HTML. No sign-in, no market data, no tracking.

What you get

The widget is the same calculator as the position size calculator page. Your readers type their capital, the share of it they accept losing on one position, the loss per unit and the lot size; the widget shows the largest loss in rupees, the units that keep the loss within it, the whole F&O lots that fit and the units left over. It rounds down to whole lots, which is the step most generic calculators leave out.

Everything is worked out in the reader’s browser. The widget uses no market data, sets no cookies, shows no advertising and sends nothing your readers type to Option Radar.

Copy the snippet

Paste these two lines where the calculator should appear. The first line is the calculator; the second is the credit link that keeps it free.

<iframe src="https://optionsradar.in/embed/position-size-calculator" title="Position size calculator for F&amp;O lots" width="100%" height="920" style="border:0;max-width:760px" loading="lazy"></iframe>
<p><a href="https://optionsradar.in/tools/position-size-calculator">Position size calculator by Option Radar</a></p>

For a dark page, add ?theme=dark to the address in the first line. The widget adapts to the width it is given. Height 920 fits a column of 600 pixels or more; in a narrower column, where the inputs stack above the result, use 1220.

How to add it

  1. Copy the snippet above.
  2. In your site’s editor, add an HTML or custom code block (WordPress: Custom HTML; Ghost: HTML card; Blogger: HTML view).
  3. Paste the snippet and publish. Check the page once on a phone.

Conditions of use

  • Free for any site, commercial or not.
  • Keep the credit link visible beside the widget; you may restyle its text colour and size.
  • Do not change the calculator or present its figures as advice or a recommendation to trade.
  • The widget is provided as it is; the terms of use and the risk disclaimer apply.

See the widget first

Open the embeddable calculator on its own to see exactly what your readers get, at the width of your browser window.