How to Calculate Position Size on Bybit & OKX
Most retail traders blow up their accounts not because they pick the wrong coins — but because they trade with the wrong position size. Open any liquidated trader's history on Bybit or OKX and you'll find the same pattern: oversized positions, no clear stop loss, and a single bad trade that wiped 30–50% of the account. The fix is boring. It's math. And it takes about ten seconds per trade.
TL;DR: Position size = (Account balance × Risk %) ÷ (Entry − Stop loss). Risk 1% per trade. If you want the math done for you, use our free Position Size Calculator — works for both Bybit and OKX.
What position size actually means
Position size is the dollar value (or quantity) of crypto you buy or sell on a single trade. It is not your account balance. It is not your margin. It is not your leverage.
Position size answers one question: "If my stop loss hits, how much money do I lose?"
If you can't answer that in dollars before you click "Buy" — you haven't sized your position. You're gambling.
The formula every Bybit & OKX trader should memorize
Quantity = Position size ÷ Entry price
The key variables:
- Balance — your total account equity in USDT
- Risk % — what percent of your account you're willing to lose if the stop hits (1–2% is standard)
- Entry price — where you plan to open the trade
- Stop loss price — where you exit if the trade goes wrong
Notice what is not in the formula: leverage. We'll come back to that.
Skip the math
Use our free Position Size Calculator — instant results, no sign-up needed.
Open Calculator →Step-by-step: position sizing on Bybit
Let's say you have $2,000 on Bybit and you want to long BTC at $65,000 with a stop at $63,500.
Step 1 — Decide your risk per trade
Risk 1% of your account. That's $20.
Step 2 — Calculate the stop loss distance
$65,000 − $63,500 = $1,500 per BTC.
Step 3 — Apply the formula
Position size = $20 ÷ $1,500 = 0.0133 BTC
In USDT: 0.0133 × $65,000 = $865 nominal position.
Step 4 — Open the trade on Bybit
Go to the BTC/USDT perpetual contract. In the order panel:
- Order type: Limit (or Market)
- Quantity: 0.0133 BTC
- Set Stop Loss: $63,500
- Confirm
If price drops to $63,500, you lose exactly $20 — 1% of your account. Boring. Sustainable. Correct.
Tip: Bybit lets you enter position size in either BTC quantity or USDT value. Use whichever matches your calculator output to avoid rounding errors. Not on Bybit yet? Sign up here for low fees and up to $30k welcome bonus.
Step-by-step: position sizing on OKX
OKX uses the same math, but the interface is slightly different. Same example: $2,000 account, long BTC at $65,000, stop at $63,500.
Step 1 — Decide your risk
1% = $20.
Step 2 — Calculate stop distance
$1,500.
Step 3 — Apply the formula
0.0133 BTC, $865 nominal.
Step 4 — Open the trade on OKX
On OKX, navigate to the BTC-USDT-SWAP contract. In the trade panel:
- Switch the order size unit to BTC (not "Cont" — that's contract count and varies by asset)
- Quantity: 0.0133
- Open the TP/SL menu, set Stop Loss trigger at $63,500
- Confirm order
Identical risk: $20 if stop hits. The exchange doesn't change the math — your discipline does.
Note: OKX denominates many of its perpetuals in "contracts" by default. A BTC contract = 0.01 BTC. So 0.0133 BTC = 1.33 contracts. Always double-check the unit before submitting. New to OKX? Register here — top-3 exchange by volume with 300+ coins.
What about leverage?
Leverage is the most misunderstood variable in crypto trading. Most beginners think "5x leverage = 5x more risk." That's not how it works.
Leverage affects your margin requirement, not your dollar risk — as long as you have a stop loss.
In our example, the $865 nominal position requires:
- 1x leverage: $865 margin (43% of account)
- 5x leverage: $173 margin (8.6% of account)
- 10x leverage: $86.50 margin (4.3% of account)
In all three cases, if your stop hits, you lose $20. The trade is identical. Leverage just changes how much capital you tie up as collateral.
Warning: The danger of high leverage isn't the leverage itself — it's that high leverage tempts traders to skip the stop loss or size up beyond their risk tolerance. The formula protects you only if you actually place the stop.
The 5 position sizing mistakes that kill accounts
- Trading fixed quantities. "I always buy 0.1 BTC." This ignores that your stop distance changes every trade. Sometimes 0.1 BTC = 0.5% risk, sometimes it's 5%.
- No stop loss. Without a stop, you cannot define your risk. Position sizing becomes meaningless.
- Risking more than 2% per trade. At 3% risk, a 10-trade losing streak (which happens to everyone) costs you 26% of your account. At 5%, the same streak costs 40%.
- Adding to losers. "Averaging down" without a plan turns a 1% risk trade into a 3% disaster.
- Ignoring fees. On Bybit and OKX, perpetual fees are roughly 0.05% maker and 0.075% taker per side. Funding rates apply for held positions. Factor 0.1–0.2% per round trip into your break-even.
Quick reference: position size by account size
If you risk 1% per trade and use a 2% stop loss distance, here's what your position size looks like at different account sizes:
| Account balance | Risk ($) | Position size (with 2% stop) |
|---|---|---|
| $500 | $5 | $250 |
| $1,000 | $10 | $500 |
| $5,000 | $50 | $2,500 |
| $10,000 | $100 | $5,000 |
| $25,000 | $250 | $12,500 |
Notice that the position is always larger than the dollar risk. That's normal. The stop loss is what limits your loss — not the position size.
FAQ
The one-minute checklist before every trade
Before clicking buy on Bybit or OKX, answer four questions:
- What's my entry price?
- Where is my stop loss?
- What's my dollar risk if the stop hits? (Should be ≤1% of account)
- What's my position size in coins?
If you can't answer all four in under 60 seconds, you haven't sized the trade. Don't open it.
Trade smaller. Trade longer. Compound.
Calculate your exact position size in seconds.
Open Position Size Calculator →

