Calculating how far a number has declined from one year to the next is pretty easy if you're only considering a one-year period. You subtract the current year's number from last year's number, then divide that result by last year's number and multiply by 100. If it's negative, then this result is the percentage that metric declined for the year. A positive number is an increase.

However, what if you only have data that is two years apart? Or just six months? Or 10 years? Is there a way to calculate the annual percentage change of this data for easy comparison to other annual data?

You bet there is. Here's how.

Breaking down the formula
Before we dive into an example, let's first work through the concept. Our first step is to divide beginning value into the ending value. We do this regardless of how far apart the numbers are in time.

Next, take the number of years between the two numbers and divide that into one. So, if the numbers are two years apart, then one divided by two years is 0.5. If the numbers are six months apart (which is 0.5 years), we would say one divided by 0.5 years is 2. Hold onto that number for the next step.

At this point, pull out your trusty calculator. In this step, we will calculate an exponent using the difference between the two numbers from step one as the base, raised to the power of the time difference divided into one.

To wrap up the calculation, subtract one from this exponent and then multiply by 100 to get the annual percentage change between the two numbers over that period of time. Here's the formula written out altogether:

Decline Formula

This formula works no matter what metric you're reviewing, be it a stock price, a sales number, profit, or the total assets on a balance sheet.

An example
Let's say a company's revenue declined from $15 million to $10 million over the past two years. We want to calculate the percentage of annual decline.

First, we divide the most current revenue number by the beginning revenue number, $10 million divided by $15 million. That comes to 0.667.

We'll use our calculator to raise 0.667 to the ½ power. We use ½ because the formula tells us to divide one by the number of years' difference between the two numbers, in this case two years. 1.5 raised to the ½ power gives 0.816.

Formula With Numbers

Finally, we subtract one and multiply by 100 to give us the annual percent decline. In this case, that works out to an 18.4% average annual decline over this two-year period.

Investing in stocks involves a lot of research, and it starts with who you open your investing account with. Click here to visit our broker center to compare and contrast your options.

This article is part of The Motley Fool's Knowledge Center, which was created based on the collected wisdom of a fantastic community of investors. We'd love to hear your questions, thoughts, and opinions on the Knowledge Center in general or this page in particular. Your input will help us help the world invest, better! Email us at knowledgecenter@fool.com. Thanks -- and Fool on!

Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.