Blog
Custom Print on Demand Apparel - Free Storefront for Your Business
Wild & Free Tools

Position Size Calculator in Excel / Google Sheets — Free Formula

Last updated: April 20265 min readCalculator Tools

Some traders prefer a spreadsheet over an online calculator. It logs every trade, calculates position size automatically, and can include custom fields like risk/reward ratio, commission, and notes. Here is the exact formula and a ready-to-use template layout.

Or skip the spreadsheet - calculate position size instantly.

Open Position Size Calculator

The Core Formula

In Excel or Google Sheets:

=A2*B2/(C2-D2)

CellColumnExample Value
A2Account Size50000
B2Risk % (as decimal)0.01
C2Entry Price150.00
D2Stop Loss Price142.00
E2 (formula)Position Size (shares)=A2*B2/(C2-D2) = 62.5

Round down to 62 shares. Never round up - rounding up increases your risk beyond the target percentage.

Complete Trading Spreadsheet Layout

ColumnHeaderFormula/InputPurpose
ADateManual inputWhen you planned the trade
BSymbolManual inputStock/pair ticker
CAccount SizeManual inputCurrent account balance
DRisk %Manual input (0.01 = 1%)Your risk percentage
EDollar Risk=C*DMaximum $ you can lose
FEntry PriceManual inputPlanned entry price
GStop LossManual inputStop loss price
HRisk Per Share=F-GPrice distance to stop
IPosition Size=E/HNumber of shares to buy
JPosition Value=I*FTotal dollar value of position
K% of Account=J/CPosition as % of account
LTarget PriceManual inputProfit target
MReward/Risk=(L-F)/(F-G)Risk-to-reward ratio
NNotesManual inputTrade thesis, setup type

Forex Lot Size Columns

Add these columns if you trade forex:

ColumnHeaderFormulaPurpose
OUnits=E/HRaw position in units
PStandard Lots=O/100000Standard lots (100K units)
QMini Lots=O/10000Mini lots (10K units)
RMicro Lots=O/1000Micro lots (1K units)

Useful Extra Formulas

PurposeFormulaExample
Max loss in dollars=I*(F-G)62 shares x $8 gap = $496
Profit at target=I*(L-F)62 shares x $15 gain = $930
Risk/reward ratio=(L-F)/(F-G)$15/$8 = 1.88:1
Win rate needed to break even=1/(1+M)1/(1+1.88) = 34.7%
Round down shares=FLOOR(E/H,1)Forces whole number, rounds down
Commission impact=Comm*2 (round trip)$0.005 x 62 shares x 2 = $0.62

Step-by-Step Setup

  1. Open Google Sheets (free) or Excel
  2. Create headers in Row 1 matching the table above
  3. Enter your account size, risk %, entry price, and stop loss in Row 2
  4. Enter the position size formula in cell I2: =FLOOR(C2*D2/(F2-G2),1)
  5. Copy the formulas for all calculated columns
  6. Each new trade goes in a new row. Update Account Size to your current balance

Spreadsheet vs Online Calculator

SpreadsheetOnline Calculator
SpeedModerate (open sheet, enter values)Fast (bookmark, enter, done)
Trade loggingBuilt in (every row is a trade)No logging
Custom columnsUnlimitedFixed inputs
Mobile accessGoogle Sheets app or browserAny browser
Formula errorsPossible if setup wrongPre-built, tested
CostFree (Google Sheets)Free
Best forJournaling + sizingQuick pre-trade sizing

Both Options - Free

Quick calculation? Skip the spreadsheet.

Open Position Size Calculator
Launch Your Own Clothing Brand - No Inventory, No Risk