Quantity for Target Profit
Divide your profit goal by net PnL per unit at the planned exit (after fees).
Calculate
Results
From estimate to a live bot scenario
Carry the same logic into Veles: set comparable parameters, preview the order grid, then backtest before you launch.
- Match direction, leverage, grid, Martingale, and TP/SL
- Inspect orders, capital allocation, and average entry
- Stress-test fees, drawdown, and MAE in a backtest
Assumptions & conventions
- netPerUnit = direction×(exit−entry) − feeRate×(entry+exit).
- Fails when per-unit edge ≤ 0 but target profit > 0.
- Enter percents as numbers: 0.04 for 0.04% per side.
Frequently asked questions
When does the calculator fail?
If net PnL per unit is zero or negative while target profit is positive, the trade cannot reach the goal — the tool rejects the input.
Fix exit price, side, or fees, or lower the profit target.
How is net per unit defined?
netPerUnit = direction×(exit−entry) − feeRate×(entry+exit) — profit on one base unit after linear move and both-side fees.
Quantity = targetProfit ÷ netPerUnit.
Can target profit be negative?
Yes. Negative targets size a loss at the planned exit (e.g., controlled stop loss amount).
Per-unit edge must still be negative for a loss target on longs below entry.
Relation to cover-price calculator?
Cover-price solves exit for fixed quantity. Quantity-for-profit solves size for fixed exit and profit goal.
Use together when iterating plan levels.
Related calculators
Cover Price Calculator
Exit price for a target net profit in currency after fees.
Target Price Calculator (ROI on Margin)
Exit price for a target ROI on initial margin after fees.
Position Size Calculator
Size positions from account risk percent and stop distance.
Crypto Futures Calculator
Estimate PnL, fees, margin, and ROI for linear USDT-margined futures.