Stock Position Size Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Stocks & Investing›Stock Position Size Calculator
Stocks & Investing

Stock Position Size Calculator

Estimate whole shares allowed by a trade risk budget and available cash, using entry, stop-loss, and trading costs.

✦ INSTANT CALCULATION

Stock Position Size Calculator

YOUR RESULT
—
My saved calculations

Save a calculation with a title and note. Nothing is saved until you choose Save.

Saved calculations ↗

Only this browser on this device. Clearing site data will remove saved calculations. Export a backup to keep or move your records.

Excel, CSV, and TXT are readable exports. Only JSON can restore saved inputs, notes and A/B comparison in EverydayCalc.

JSON backups may contain personal or health information. Store them privately.

ⓘ Estimates only — not financial advice. Results depend on the values and units you enter.

Engine-verified calculation

Finance decision diagnostics

Additional domain checks derived from your calculated result.

Share of capital used—
Risk budget not used—

Figures reflect your entered assumptions and denominated amounts. No market forecasts, jurisdictional tax rules or investment advice.

Position risk & target planner

See how different account-risk budgets change your maximum whole-share position. Set an illustrative exit target to compare after-fee downside and upside.

After-fee break-even sale price 50,000 KRW
Account risk limitMaximum sharesRisk budgetEstimated purchase costEstimated stop lossTarget profitReward / risk
0.5% 2550,0001,250,00050,000187,5003.75:1
1% Current setting50100,0002,500,000100,000375,0003.75:1
2% 100200,0005,000,000200,000750,0003.75:1

Currency: KRW

This is a long-position planning illustration, not a trade recommendation. Every row is computed by the original position-sizing and risk/reward engines. Estimates assume an exact stop and target fill, do not model slippage, gaps, changing prices or market liquidity. The share limit also cannot exceed available capital.

What changes if one input changes?

9,000,000: 45 shares · 10,000,000: 50 shares · 11,000,000: 55 shares

How this calculator works

Risk budget = cash × risk %. Loss per share at stop = entry × (1 + buy fee %) − stop × (1 − sell fee % − sell transaction tax %). Risk-limited shares = floor(risk budget ÷ loss per share); cash-limited shares = floor(cash ÷ entry cost with fees). The smaller quantity is shown. Prices must describe a long position with stop below entry. Gap risk, slippage, real execution and margin are not modeled; actual losses may exceed the assumed stop.

Formula and reasoning

N = min(⌊C×r/[100×(E(1+f_b/100)−S(1−f_s/100−t/100))]⌋, ⌊C/[E(1+f_b/100)]⌋)

  1. 1. Start with the measurements
    Available trading cash10000000Risk budget (% of cash)1Entry price per share50000Planned stop price48000Buy commission (%)0Sell commission (%)0Sell transaction tax (%)0
  2. 2. Substitute into the formula

    Available trading cash = 10000000 ? Risk budget (% of cash) = 1 ? Entry price per share = 50000 ? Planned stop price = 48000 ? Buy commission (%) = 0 ? Sell commission (%) = 0 ? Sell transaction tax (%) = 0

  3. 3. Check the computed answer

    Result for the sample inputs50 shares

Worked example

With 10,000,000 cash, 1% risk, entry 50,000 and stop 48,000, no fees: 100,000 risk ÷ 2,000 per share = 50 shares.

Frequently asked questions

Does this guarantee my loss is limited to the risk budget?

No. Stops may execute at worse prices or not at all, especially during gaps or low liquidity.

Does it use my whole cash balance?

No. It takes the smaller quantity allowed by both risk budget and available purchase cash.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc