Stock Profit Calculator - Your Calculator

Calculate profit rate and profit from buy/sell prices.

Why Fees and Taxes Matter

When calculating stock profit or profit rate, fees and taxes must be considered. Ignoring them may lead to selling at a lower-than-expected profit or even a loss.

How to Calculate Profit Amount

Profit amount is the sell amount minus the buy amount, buy commission, sell commission, and trade tax.

Sell Amount − Buy Amount − Buy Commission − Sell Commission − Trade Tax

How to Calculate Profit Rate

Profit rate is the profit amount divided by the buy amount, expressed as a percentage.

(Sell Amount − Buy Amount − Buy Commission − Sell Commission − Trade Tax) ÷ Buy Amount × 100

How to Calculate Buy Commission

Buy Price × Quantity × Fee Rate

How to Calculate Sell Commission

Sell commission is the sell total multiplied by the fee rate, plus the trade tax. (No tax if profit is negative.)

(Sell Price × Quantity × Fee Rate) + (Sell Price × Quantity × Trade Tax Rate)

Stock Profit Calculation Formulas

Profit = (Sell Price − Buy Price) × Qty − Commission − Trade Tax
Profit Rate = Profit ÷ Buy Total × 100

Fees and Taxes

Buy Commission: Buy Total × Fee Rate

Sell Commission: Sell Total × Fee Rate

Trade Tax: Sell Total × 0.18% (2024, KOSPI 0.05% + Agriculture Tax 0.15%)

Worked examples

Buying 100 shares at $50 and selling at $60 gives a $1,000 gain before costs; with 0.015% fees and 0.18% sale tax the net profit is about $987.55, a 19.75% return.

Buying 100 shares at $80 and selling at $70 turns the same costs into a loss of about $1,014.85, a return of −12.69%.

What the result assumes

Costs are charged on both trades plus a transaction tax on the sale, so the net figure is always below the naive price difference. Each fill is treated as one trade at a single price and no dividends, currency changes or partial sales are modelled. Commission is entered as a percentage, not as a flat fee, so check your broker schedule before relying on the number.

Frequently asked questions

Why is my profit lower than the price difference?
Because buy and sell commissions plus the transaction tax are deducted. On a 20% gain the costs above consume about 1.2 percentage points, and they matter far more on short holding periods.
What return does the percentage show?
Net profit divided by the amount invested, so it already includes fees and tax. That is the figure to compare with a savings rate or an index fund.
How do I include dividends?
Add the gross dividend to the sell amount, or to profit, before tax. This calculator only covers capital gains from the price change.

All Calculators

🎨 Resistor Color Code Calculator🧪 Concentration Mixing Calculator🧪 Concentration Dilution Calculator🧪 Concentration Thickening Calculator📈 Compound Interest Calculator💵 Simple Interest Calculator📈 Stock Profit Calculator📈 Stock Average Down CalculatorPER/PBR Stock Valuation Calculator₿ Bitcoin Profit Calculator₿ Bitcoin Average Down Calculator🏦 Loan Interest Calculator🏭 Depreciation CalculatorExchange Rate CalculatorSavings Maturity CalculatorMortgage CalculatorBreak-Even Calculator💰 Simple vs Compound Interest💵 Weekly Paid Leave Calculator💵 Annual Salary Calculator💵 Monthly Salary Calculator💵 Daily Salary Calculator💵 Hourly Wage Calculator💵 Weekly Salary Calculator🛡️ Four Major Insurance Calculator💼 Severance Pay CalculatorUnemployment Benefit CalculatorParental Leave Pay CalculatorFreelancer Net Salary CalculatorBMI Calculator🔥 BMR / Calorie CalculatorBody Fat CalculatorBlood Pressure CalculatorSleep Time Calculator🍺 Alcohol Metabolism Calculator👶 Child Obesity Index Calculator🍗 Fibonacci Chicken Calculator🤰 Pregnancy Week Calculator📅 Menstrual Cycle Calculator🎂 Age Calculator📅 Date Difference Calculator💸 Split Bill Calculator📊 Stock Profit Calculator🏷️ Discount Calculator💰 Tip Calculator📐 Rectangle Area Calculator📐 Trapezoid Area Calculator⭕ Circle Area Calculator🔵 Ellipse Area CalculatorRhombus Area CalculatorSphere, Cylinder & Cone Volume CalculatorCuboid & Cube Volume Calculator🔢 Permutation / Combination CalculatorPrime Number Checker🍕 Fraction Bar Calculator — Same Denominator🔢 Prime Factorization Calculator🔢 GCF/LCM Calculator🔢 Linear Equation Calculator🔢 Quadratic Equation Calculator🔢 Cubic Equation Calculator🔢 Quartic Equation Calculator📐 Equilateral Triangle CalculatorRight Triangle Calculator📐 Right Isosceles Triangle Calculator📐 Isosceles Triangle Calculator📐 Scalene Triangle Calculator🔄 Degree (°) ↔ Radian (rad) Converter📐 Trigonometric Calculator (Degree)📐 Trigonometric Calculator (Radian)📍 Circumcenter Calculator⭕ Circumscribed Circle Calculator⭕ Inscribed Circle Calculator📍 Incenter Calculator🏆 Win Rate Calculator⚾ Batting Average (AVG) Calculator⚾ ERA (Earned Run Average) Calculator⚾ On-Base Percentage (OBP) Calculator⚾ Slugging Percentage (SLG) Calculator⚾ OPS CalculatorFederal Income Tax Calculator (US)Take-Home Pay Calculator (US)Sales Tax Calculator (US)🏠 Capital Gains Tax Calculator🏡 Acquisition Tax Calculator🚗 Car Tax Calculator🏃 Running Pace Calculator⛳ Golf Handicap Calculator🏋️ 1RM (One-Rep Max) Calculator📅 D-Day Calculator🕐 Unix Timestamp ConverterYard / Feet / Inch / Mile ConverterOunce / Pint / Gallon / Barrel Converter🌡️ Celsius/Fahrenheit ConverterOunce / Pound / Ton ConverterPercentage Calculator⏱️ Time Unit Converter💾 Data Unit Converter💨 Speed Unit Converter⚖️ Weight Unit Converter📏 Length Unit ConverterpH CalculatorMolarity CalculatorMolecular Weight CalculatorIdeal Gas Calculator (PV=nRT)World Time Zone ConverterYear-End Tax Settlement Refund CalculatorInheritance / Gift Tax CalculatorJeonse-to-Monthly Rent Conversion CalculatorElectricity Bill CalculatorExercise Calorie Burn CalculatorStandard Score / Percentile CalculatorFuel Efficiency / Fuel Cost CalculatorEV Charging Cost CalculatorRetirement / FIRE Number CalculatorInflation (Value of Money) CalculatorGPA CalculatorBusiness Days CalculatorOhm's Law CalculatorMean / Standard Deviation CalculatorLogarithm / Exponent CalculatorPressure Unit ConverterEnergy Unit ConverterPower Unit ConverterDay of the Week CalculatorReal Estate Agent Fee CalculatorBaby's Age in Months Calculator