{"uid":"cap_G7kUsy7f2lW8CpKeLmynW","slug":"saylor-innovations-position-size-calculator-496f1872","name":"Saylor Innovations Position Size Calculator","description":"Position size from account equity, risk percent, entry and stop: units, notional, leverage needed and target prices at chosen R multiples.","url":"https://saylorinnovations.com/api/trading/position-size?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["account_usd","risk_percent","entry_price","stop_price"],"properties":{"stop_price":{"type":"string","description":"stop loss price (below entry = long, above = short)"},"account_usd":{"type":"string","description":"account equity"},"entry_price":{"type":"string","description":"planned entry"},"risk_percent":{"type":"string","description":"percent of the account to risk, e.g. 1"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["position_size_units","position_notional_usd"],"properties":{"note":{"type":"string","description":"Plain-language caveat about how to read and use the result"},"side":{"type":"string","description":"Trade direction inferred from the stop (below entry is long)"},"source":{"type":"string","description":"Where the data or formula comes from"},"targets":{"type":"array","items":{"type":"object","properties":{"price":{"type":["number","null"],"description":"Target price"},"profit_usd":{"type":["number","null"],"description":"Profit in USD if the target is reached"},"r_multiple":{"type":["number","null"],"description":"Multiple of the initial risk"}}},"description":"Take-profit prices at the requested R multiples"},"risk_usd":{"type":"number","description":"Amount lost if the stop is hit"},"stop_price":{"type":"number","description":"Stop loss price"},"account_usd":{"type":"number","description":"Account equity used"},"entry_price":{"type":"number","description":"Planned entry price"},"risk_percent":{"type":"number","description":"Percent of the account risked"},"leverage_needed":{"type":"number","description":"Notional divided by account equity"},"margin_for_10x_usd":{"type":"number","description":"Margin needed if the position is opened at 10x"},"position_size_units":{"type":"number","description":"Units to buy or sell so the stop loses the risk amount"},"position_notional_usd":{"type":"number","description":"Notional value of the position in USD"},"stop_distance_percent":{"type":"number","description":"Distance from entry to stop, in percent"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9VZnTox8h1lIz8I2okUsL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates trading position size (units, notional, leverage) and take-profit target prices from account equity, risk percent, entry price, and stop price.","exampleAgentPrompt":"I have a $25,000 trading account and want to risk 1% on a trade — I'm buying at $150.00 with a stop at $144.00. Can you calculate my position size, notional value, leverage needed, and show me the 1R, 2R, and 3R take-profit prices?","exampleUseCases":[{"title":"Stock trade risk sizing","prompt":"I have $10,000 in my account and want to risk 2% on a stock I'm entering at $85.50 with a stop at $82.00 — what's my position size in shares, the notional, and what are the 1R, 2R, and 3R targets?"},{"title":"Crypto leverage position check","prompt":"My account is $5,000 and I want to go long Bitcoin at $67,400 with a stop at $65,000, risking 1.5%. How many units can I buy, what leverage do I need, and what are my profit targets at 1R and 2R?"},{"title":"Short trade position sizing","prompt":"I have $50,000 in my account and I'm shorting a stock at $200 with a stop at $210, risking 0.5%. Can you calculate how many units to short, the notional size, leverage required, and my 1R, 2R, 3R target prices?"}],"resultDescription":"Returns a JSON object with: inferred trade direction (long/short), account equity, entry price, stop price, risk percent, dollar amount at risk, position size in units, notional value in USD, leverage needed, and an array of take-profit prices at requested R-multiples with corresponding profit in USD. Also includes a plain-language note and data source.","failureModes":["Missing required query parameters (account_usd, risk_percent, entry_price, stop_price) returns an error","Stop price equal to entry price causes division-by-zero / undefined result","Non-numeric string values for prices or percentages may return parse errors","Extremely small risk percentages or prices may produce nonsensical unit counts","Service unavailability returns HTTP error without position data"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic position-sizing calculation given account equity, a risk percentage, entry price, and stop price — especially when you also want R-multiple take-profit targets pre-computed. Prefer it over manual calculation or general-purpose math tools when the output format (units, notional, leverage, targets) matches what a trader needs directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:39:32.613Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-position-size-calculator-496f1872"}