Margin & Leverage Calculator: How It Works, Formula and a Worked Example

Position size, margin blocked and the loss a stop-loss would cost at a given leverage. Here is the formula, a worked example, the mistakes to avoid, and a free calculator with a downloadable PDF report.

Abhishek sharma
Editorial Lead
Updated September 17, 2026
5 Min Read

Ask five people in India how this is calculated and you will get five confident answers, most of them slightly wrong. It is not their fault — the arithmetic is rarely explained, only the result is shown. So let us do it the other way round: first the logic, then the formula, then your own numbers in the margin & leverage calculator.

Cover image slot — add a screenshot or illustration from Admin → Blog when it is ready.

Prefer to start with your own figures? Use the Margin & Leverage Calculator now, or continue for the formula and a worked example.

How this is worked out

Leverage lets you control a position larger than your cash. The margin blocked is the position value divided by the leverage. Because the whole position moves, a small adverse move is a large percentage of your own money — the calculator shows exactly how large.

The formula behind it:

Position = Cash × Leverage · Margin = Position ÷ Leverage · Loss = Position × Stop-loss %
Symbol What it means
Cash Money available in your account
Leverage Multiple offered by the broker
Stop-loss % Adverse move at which you exit

Nothing is rounded away quietly and nothing is assumed on your behalf. If a figure appears in the result, it came from something you entered.

A worked example you can follow

₹1,00,000 at 5× controls ₹5,00,000; a 2% adverse move costs ₹10,000, which is 10% of your cash.

Change any one input and watch the result move — that sensitivity is the real lesson. It is far more useful than memorising a single outcome, because your own rate, tenure or contribution will never match the example exactly.

Using the Margin & Leverage Calculator, step by step

  1. Open the Margin & Leverage Calculator.
  2. Enter your figures. Use the ones on your statement, sanction letter or scheme document rather than a remembered number.
  3. Read the result card — the headline figure plus the breakdown that produced it.
  4. Adjust one input at a time to see what genuinely moves the outcome.
  5. Tap Download PDF to keep a copy of the calculation, with your inputs and assumptions printed on it.

The PDF takes a few seconds to build because it is a properly typeset report, not a screenshot. You will see a progress message while it is being prepared, and the download starts on its own.

Practical pointers

  • Decide the rupee loss you accept before deciding the position size.
  • Practise leveraged trades with virtual money on the VIA Trade Simulator first.

Common mistakes worth avoiding

  • Using the full buying power the broker offers.
  • Ignoring the interest charged on the borrowed amount.

If you want to go a level deeper afterwards, read up on position sizing and margin calls. Both come up the moment you start comparing options seriously.

Interactive calculator

Try the Margin & Leverage Calculator

Enter your own figures below. The same calculator and PDF report remain available on the focused calculator page.

×
%

How far the price can move against you before you exit.

Position you could take

₹5,00,000

Quantity affordable
1,000
Margin blocked
₹1,00,000 (20.0% of position)
Loss if your stop-loss is hit
₹10,000
That is this much of your cash
10.0%
Adverse move that wipes out your cash
20.0%

Leverage multiplies losses exactly as it multiplies gains, and brokers charge interest on the borrowed amount. Practise this on the VIA Trade Simulator with virtual money before risking real capital — this tool is for education, not a trade recommendation.

Open the full calculator

Numbers that belong next to this one

A single figure rarely settles a decision. These usually get checked in the same sitting:

What else you will find on VIA Capital

The calculator is one corner of a much bigger free toolkit. While you are here:

New tools and sections go live regularly, and each one gets written up here the same way.

Questions people ask us

Is the Margin & Leverage Calculator free to use? Yes. Every calculator on VIA Capital is free, works without a login, and nothing you type is stored on our servers.

How accurate is it? The arithmetic is exact — it is the formula shown above, nothing hidden. Accuracy of the answer depends on your inputs. Rates, tenures and charges change, so use the figures from your own statement or sanction letter rather than a number you remember.

Can I save or share the result? You can download a formatted PDF report of your calculation and share it with your family, your CA or your bank. The download link sits right under the result.

Does it work on a phone? It does. The margin & leverage calculator is built mobile-first, which is how most people in India actually search for "margin calculator".

Is this investment advice? No. VIA Capital is an education platform. We show you the maths and the assumptions; the decision, and the responsibility for it, stays with you. For anything personalised, speak to a SEBI-registered professional.

The short version

Position size, margin blocked and the loss a stop-loss would cost at a given leverage. The formula is public, the assumptions are printed on the page, and the calculation is yours to keep as a PDF.

👉 Run your own numbers in the Margin & Leverage Calculator

VIA Capital publishes financial education only. Nothing here is investment advice or a personalised recommendation, and no calculator output should be treated as a promise of returns.

Educational content only. Educational content only. Not investment advice or a personalised recommendation.

Written by

Abhishek sharma

Discussion (0)

Log in to join the conversation.

Sign In to Comment