How to Calculate Stock Profit & Loss

Understand profit and loss (P/L) calculations like (P/L) Open, (P/L) Day, (P/L) Year-to-Date, and (P/L) % to track and measure your trading performance.

Before mobile phones and coast-to-coast cell coverage, roadside diners and gas stations did good business selling foldout maps to travelers who passed through town. These maps were crucial instruments of navigation, showing you not only where you were, but also where you came from and where you’re headed. For stock investors, measuring and tracking performance—derived from profit and loss—is the financial version of the foldout map.

The simplest way to track performance is to mark your starting account balance and then compare it to your current balance, excluding any funds deposited or withdrawn, on whatever period you wish, such as daily, monthly, quarterly, etc. Many investors typically start the New Year by noting their account balance and checking it periodically to measure how they’re doing throughout the year.

Understanding stock profit calculations

However, if you’re an active trader or want to drill deeper into your positions, there are other ways to track performance, but first, let’s familiarize ourselves with some terms and how to access them on the thinkorswim® platform. 

Profit/Loss (P/L) Day is the amount of money made or lost on your position from last night’s close to the current mark, plus any intraday profit and loss. You can see the current price for any stock or option in your position on the Position Statement

P/L Open is the amount of money made or lost on your position since the inception of the trade. You can see the execution price for any stock or option in your position by going to the Monitor tab and selecting the P/L Open dollar amount.

P/L Year-to-Date (YTD) is the amount of money made or lost in a particular underlying security in the current calendar year. It includes the P/L for all open positions and any closed positions made for a specific stock or index done in a calendar year. 

P/L % calculates the percentage of money made or lost as a function of your execution price. This takes the P/L Open as the numerator and your execution price as the denominator. Keep in mind, when it comes to options, this will only calculate the P/L of single options and does not include spreads.

These four unique calculations can be used to measure your portfolio in various ways. For example, let’s say on the first trading day of the year, you start with $100,000 in your account and no open positions. You then buy 500 shares each of QRS and XYZ stock, both of which are trading for $10. Assuming both stocks immediately go up $1, your P/L would look like this (please be mindful that this example excludes commissions and transaction fees).



Ticker QRSTicker XYZ
P/L Day+$500+$500
P/L Open+$500+$500
P/L YTD+$500+$500
P/L %+10%+10%

Now let’s say the following day, shares of QRS drop $0.50 per share, and you decide to sell it. Meanwhile, the XYZ share price was unchanged. Your P/L would like look like this:


Ticker QRSTicker XYZ
P/L Day-$250+$0
P/L Open+$250+$500
P/L YTD+$250+$500
P/L %+5%+10%

Creating a performance matrix for stock profit calculations

As the examples above illustrate, you can mix and match these metrics to track the type of performance that matters most to you. If you’re a day trader, you might be more focused on daily and open P/L, whereas a long-term investor might be more concerned with YTD P/L.

Another way to track performance is to differentiate between open and closed positions. With open positions, you can create subgroups focused on concepts like “short-term,” “long-term,” “speculative,” “value,” or any number of criteria, and then add the appropriate positions to each. This helps keep your positions organized and gives you the ability to track performance on each subgroup separate from one another.

For closed positions, one way to track performance is to download them into a spreadsheet and sort profitable trades from unprofitable ones. 

Tracking investment performance can be one of the more powerful things you can do as an investor. It can be done in a very simple, straightforward manner, or you can make it as complex as you want. But no matter which you choose, consider making it a central part of your investing toolbox.