# How do you size a position from stop distance and a risk budget? Slug: how-do-you-size-a-position-from-stop-distance-and-a-risk-budget. Canonical: https://tradingtune.com/blog/how-do-you-size-a-position-from-stop-distance-and-a-risk-budget ## Summary On one reading, the order size is the risk amount divided by the money lost per unit from entry to stop, before any rounding to a tradable step. ## Key facts - On one reading, the size of one order before rounding is the chosen risk amount divided by the money lost per unit between the entry price and the stop price. - On one reading, the money lost per unit is the stop distance multiplied by the point value, so a wider stop gives a smaller size for a given budget. - The passages cited here state truncation for a margin call quantity and rounding for a liquidation price, and they state no rule for rounding an order quantity. - On one reading, rounding down leaves the intended loss at the stop price at or under the budget, but the loss at an actual fill can differ from it. - On one reading, a record of one check holds the budget, the stop distance, the tick size, the point value, the computed size, the rounding rule and the filled quantity, among other items. ## Outline - What is the short answer for sizing from a stop distance and a risk budget? (#what-is-the-short-answer-for-sizing-from-a-stop-distance-and-a-risk-budget) - What is a risk budget, and what does the Pine Script FAQ call it? (#what-is-a-risk-budget-and-what-does-the-pine-script-faq-call-it) - How does a stop distance turn into money per unit? (#how-does-a-stop-distance-turn-into-money-per-unit) - How do you divide the budget by the risk per unit, and why does a wider stop shrink the size? (#how-do-you-divide-the-budget-by-the-risk-per-unit-and-why-does-a-wider-stop-shrink-the-size) - How does rounding to a tradable quantity change the loss at the stop? (#how-does-rounding-to-a-tradable-quantity-change-the-loss-at-the-stop) - What quantity does a Pine strategy actually fill, and how do you check it? (#what-quantity-does-a-pine-strategy-actually-fill-and-how-do-you-check-it) - Why can the loss at the stop differ from the budget? (#why-can-the-loss-at-the-stop-differ-from-the-budget) - What should a record of one sizing check hold? (#what-should-a-record-of-one-sizing-check-hold) - What does this arithmetic not show? (#what-does-this-arithmetic-not-show) - Sources (#sources) ## Code snippets - Anchor: #pine-snippet-1