Free widgets

Free trading calculator widgets for your website

Put any of our 29 calculators on your own site with one line of code: lot size, pip value, margin, risk-reward, crypto profit, options, dividends and more. Free, mobile-friendly, no tracking, dark or light theme.

  • ✓ Copy, paste, done
  • ✓ Resizes itself
  • ✓ No cookies or tracking
  • ✓ Dark and light themes

Last reviewed by the MarketPro research desk · Editorial policy

Live preview

This is what your visitors see

The lot size calculator (forex position size) widget, exactly as it appears when embedded. Every widget works the same way.

How to add a calculator to your site

  1. Pick a calculator from the list below and open it.
  2. Choose the theme: light for white pages, dark for dark ones.
  3. Copy the code and paste it into your page's HTML, a WordPress Custom HTML block, or your site builder's embed element.

The code has three lines: the calculator itself (an iframe), a one-line credit linking to the calculator's page here, and a tiny script that sizes the frame to fit. Keep the credit line; it is the only thing we ask for.

Forex trade calculators

Lot size calculator Turn a risk percentage and a stop distance into the exact lot size to trade.

Open the lot size calculator (forex position size) to try it first.

Preview
Pip value calculator See what one pip is worth in your account currency, for any pair and lot size.

Open the pip value calculator to try it first.

Preview
Forex margin calculator See the margin a position ties up and how close it leaves you to a stop-out.

Open the forex margin calculator to try it first.

Preview
Forex leverage calculator Measure the leverage you are actually using, not the ratio the broker advertises.

Open the forex leverage calculator to try it first.

Preview
Forex profit and loss calculator Turn an entry, an exit and a lot size into pips and cash.

Open the forex profit and loss calculator to try it first.

Preview
Pivot point calculator Pivot, support and resistance levels in five methods, from the previous candle.

Open the pivot point calculator to try it first.

Preview
Fibonacci retracement calculator Retracement and extension levels from any swing high and low.

Open the fibonacci retracement calculator to try it first.

Preview
Forex cashback calculator See what a cashback rate returns on your real monthly trading volume.

Open the forex cashback calculator to try it first.

Preview
Forex swap calculator Overnight swap per night and in total, from your broker's published swap points.

Open the forex swap calculator to try it first.

Preview
Stop loss calculator Exact stop-loss and take-profit prices from an entry, a distance and R multiples.

Open the stop-loss and take-profit calculator to try it first.

Preview

Risk and performance

Forex compounding calculator Model account growth at a fixed return per period, with a full period-by-period table.

Open the forex compounding calculator to try it first.

Preview
Drawdown recovery calculator Find out what gain is required to recover a given drawdown. The asymmetry is brutal.

Open the drawdown recovery calculator to try it first.

Preview
Risk of ruin calculator Estimate the odds a losing streak ends the account, given your edge and your risk per trade.

Open the risk of ruin calculator to try it first.

Preview
Kelly criterion calculator The Kelly fraction and a safer half or quarter stake from win rate and payoff.

Open the kelly criterion calculator to try it first.

Preview
Prop firm drawdown calculator Daily loss limit, drawdown floor and losses-to-breach for a funded account challenge.

Open the prop firm drawdown calculator to try it first.

Preview
Risk reward calculator Turn entry, stop and target into an R:R ratio and the win rate it needs.

Open the risk reward calculator to try it first.

Preview
Win rate calculator for trading Win rate, expectancy and profit factor from your wins, losses and average trade.

Open the win rate calculator for trading to try it first.

Preview

Market hours and planning

Forex market hours clock See which forex sessions are open now, the overlaps and the weekly open, in your time zone.

Open the forex market hours (live session clock) to try it first.

Preview

Crypto calculators

Crypto liquidation calculator Estimate where a leveraged long or short gets liquidated, from 2x to 100x.

Open the crypto liquidation price calculator to try it first.

Preview
Crypto position size calculator How many coins to trade so a stop-loss costs exactly your chosen risk, fees included.

Open the crypto position size calculator to try it first.

Preview
Crypto profit calculator Profit, ROI and break-even price for any coin, with exchange fees on both sides.

Open the crypto profit calculator to try it first.

Preview

Stocks, options and futures

Stock average calculator (average down) Average price across several buys, and how many more to buy to average down to a target.

Open the stock average calculator (average down) to try it first.

Preview
Futures calculator (tick value and profit) Ticks, points and P/L for E-mini, micro, oil, gold, Treasury and currency futures.

Open the futures calculator (tick value and profit) to try it first.

Preview
Options profit calculator Profit, break-even, max gain and max loss for a call or put at expiry, with a payoff table.

Open the options profit calculator to try it first.

Preview
Stock profit calculator Profit or loss, return % and break-even price on a share trade, long or short, after commission.

Open the stock profit calculator to try it first.

Preview

Investing and growth

CAGR calculator Find the compound annual growth rate between two values, or the end value a rate implies.

Open the cagr calculator (compound annual growth rate) to try it first.

Preview
Dividend calculator Model dividend income with reinvestment (DRIP), dividend growth, contributions and tax.

Open the dividend calculator to try it first.

Preview
ROI calculator Return on investment, percentage gain or loss and the annualised return over any period.

Open the roi calculator (return on investment) to try it first.

Preview
Rule of 72 calculator How many years money takes to double at a given rate, with the exact figure alongside.

Open the rule of 72 calculator to try it first.

Preview

Why we give these away

MarketPro is a trading signal and trading education app. The calculators exist because our signals carry explicit entry, stop and take-profit levels, and those are only useful if a trader can turn them into a position size. Letting other sites use the same tools costs us almost nothing and helps more traders size positions properly.

FAQ

Calculator widgets: questions

Are the calculator widgets really free?
Yes, for any website, blog, forum or course page, commercial or not. There is no account, no API key and no usage limit. The one condition is that the short credit line under the widget stays in place.
Do the widgets track my visitors?
No. The widget page loads no analytics, no advertising pixels and sets no cookies. Every calculation runs in the visitor's browser and nothing they type is sent anywhere.
Will a widget slow my page down?
The iframe uses lazy loading, so it only loads when a visitor scrolls near it, and it shares cached fonts and styles across every widget. The small resize script is under 1 KB.
How do I add a widget to WordPress?
Edit the page, add a Custom HTML block where you want the calculator, paste the code and update the page. On Elementor use the HTML widget; on Wix, Squarespace or Webflow use their embed or custom code element.
Can I change the colours?
Pick the dark or light theme in the code box before copying. The light theme is designed for white pages, the dark one for dark sites and trading blogs. Width follows your layout up to 760 pixels and the height adjusts automatically.
Can I put more than one widget on a page?
Yes. Paste each widget's code; the resize script only needs to load once, and loading it twice does no harm.