What is a Gain & Loss Percentage Calculator?
A gain and loss percentage calculator is an essential tool for investors to measure the performance of their stock portfolio. It calculates the percentage change between the purchase price and current market value of your investments, helping you understand how well your investments are performing over time. Whether you are a beginner investor or an experienced trader, tracking your gains and losses is crucial for making informed investment decisions and managing risk effectively.
Our free calculator allows you to input multiple stock positions, automatically fetches real-time prices, and calculates your profit or loss for each position as well as your overall portfolio performance. This eliminates the need for manual calculations and provides instant, accurate results that you can use to evaluate your investment strategy.
How to Use This Calculator
- 1
Add Your Positions
Click "Add Position" to create entries for each stock you want to track. You can add as many positions as needed for your complete portfolio.
- 2
Enter Stock Details
Enter the stock symbol (e.g., AAPL, MSFT, GOOGL), your purchase price per share, and the number of shares you own.
- 3
Get Real-Time Prices
Enter the current price manually or click the refresh icon next to the symbol to fetch real-time market data automatically.
- 4
View Your Results
Instantly see the profit or loss for each position and your complete portfolio summary, including total invested, current value, and overall return percentage.
Why Use Our Gain & Loss Calculator?
Real-Time Data
Get up-to-date market prices directly from the market, ensuring your calculations reflect current market conditions.
Portfolio Tracking
Track multiple positions simultaneously and see your overall portfolio performance at a glance.
Percentage Analysis
Understand your returns in percentage terms, which is essential for comparing investments of different sizes.
The Gain & Loss Formula
Understanding the underlying formula helps you verify our calculations and perform manual checks when needed. The basic gain/loss percentage formula is:
Gain/Loss % = ((Current Price - Purchase Price) / Purchase Price) × 100
For example, if you bought a stock at $100 per share and it is now trading at $120, your gain would be calculated as: (($120 - $100) / $100) × 100 = 20% gain. Conversely, if the stock dropped to $80, your calculation would be: (($80 - $100) / $100) × 100 = 20% loss.
To calculate total profit or loss in dollars, simply multiply the percentage change by your total investment amount. A 20% gain on a $5,000 investment equals $1,000 in profit. This straightforward formula works for any investment type, including stocks, ETFs, and mutual funds.