FreeByte

Stock profit calculator

Gain or loss on a share trade.

Built and reviewed by Dovanic, Founder and editor, FreeByteLast reviewed: 2026-08-18
$
$
$

Profit

$2,088

Return on cost

36.63%

With these inputs, profit comes to $2,088. Return on cost works out to 36.63%.

Proceeds
$7,800
Cost
$5,712

What moves the number · Profit

Input−10%Now+10%
Shares$1,878$2,088$2,298
Buy price$2,658$2,088$1,518
Sell price$1,308$2,088$2,868
Fees$2,089.2$2,088$2,086.8

Solve for an input

Whatmakesequal

Compare scenarios

Save this set of inputs, change something, then save again to compare the outcomes side by side.

Gain or loss on a share trade.

A worked example

Starting figures

Shares
150
Buy price
$38
Sell price
$52
Fees
$12

What it returns

Profit
$2,088
Return on cost
36.63%
Proceeds
$7,800
Cost
$5,712

How to read the results

With the defaults above, profit works out at $2,088.

Related calculators