function calculateIndustryGrowth() {
// Clear errors
var errorDiv = document.getElementById('errorMsg');
var resultsDiv = document.getElementById('results');
errorDiv.style.display = 'none';
resultsDiv.style.display = 'none';
// Get Inputs
var initialSize = parseFloat(document.getElementById('initialMarketSize').value);
var finalSize = parseFloat(document.getElementById('finalMarketSize').value);
var startYear = parseInt(document.getElementById('startYear').value);
var endYear = parseInt(document.getElementById('endYear').value);
// Validation Logic
if (isNaN(initialSize) || isNaN(finalSize) || isNaN(startYear) || isNaN(endYear)) {
errorDiv.innerHTML = "Please fill in all fields with valid numbers.";
errorDiv.style.display = 'block';
return;
}
if (initialSize <= 0) {
errorDiv.innerHTML = "Initial Market Size must be greater than zero.";
errorDiv.style.display = 'block';
return;
}
if (endYear <= startYear) {
errorDiv.innerHTML = "End Year must be later than Start Year.";
errorDiv.style.display = 'block';
return;
}
// Calculation Logic
var numYears = endYear – startYear;
// Absolute Change
var valueChange = finalSize – initialSize;
// Total Percentage Growth
// Formula: ((Final – Initial) / Initial) * 100
var totalGrowthPercent = ((finalSize – initialSize) / initialSize) * 100;
// CAGR Formula: ( (Final / Initial) ^ (1 / n) ) – 1
var cagrRaw = Math.pow((finalSize / initialSize), (1 / numYears)) – 1;
var cagrPercent = cagrRaw * 100;
// Formatting Output
var formatter = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
minimumFractionDigits: 0,
maximumFractionDigits: 0,
});
document.getElementById('cagrResult').innerHTML = cagrPercent.toFixed(2) + "%";
document.getElementById('totalPercentResult').innerHTML = totalGrowthPercent.toFixed(2) + "%";
document.getElementById('valueChangeResult').innerHTML = formatter.format(valueChange);
document.getElementById('durationResult').innerHTML = numYears + " Years";
// Show Results
resultsDiv.style.display = 'block';
}
How to Calculate Industry Growth Rate
Calculating the growth rate of an industry is a fundamental task for business analysts, investors, and entrepreneurs. It helps in determining the potential of a market sector, assessing competitive landscapes, and making informed strategic decisions. The most accurate way to measure this over time is by using the Compound Annual Growth Rate (CAGR) formula.
While a simple percentage increase tells you how much a market grew in total, CAGR provides a smoothed annual rate that describes how the industry would have grown if it had expanded at a steady rate every year. This calculator automates that process, allowing you to input historical market data to derive future trends.
The Formula for Industry Growth (CAGR)
To calculate the industry growth rate manually, you need three key pieces of data: the market size at the beginning of the period, the market size at the end of the period, and the number of years between these two dates.
CAGR = ( Ending Value / Beginning Value )(1 / n) – 1
Where:
Ending Value: The market size (revenue or volume) in the final year.
Beginning Value: The market size in the starting year.
n: The number of years (End Year – Start Year).
Step-by-Step Calculation Example
Let's look at a realistic example involving the Electric Vehicle (EV) Battery Market.
Identify the Initial Value: Suppose the market size in 2018 was $25 Billion.
Identify the Final Value: By 2023, the market size grew to $85 Billion.
Determine the Time Period (n): 2023 – 2018 = 5 Years.
Using the formula:
Step 1: Divide End by Start ($85B / $25B) = 3.4.
Step 2: Raise to the power of (1/5) or 0.2. (3.4)0.2 ≈ 1.277.
Step 3: Subtract 1. (1.277 – 1) = 0.277.
Step 4: Convert to percentage. 0.277 * 100 = 27.7%.
The industry growth rate (CAGR) for the EV battery market in this period is 27.7%.
Why Use CAGR Instead of Average Growth?
Beginners often make the mistake of calculating the "Average Annual Growth Rate" (AAGR) by simply averaging the growth of each individual year. However, this can be misleading because it ignores the compounding effect of growth.
For example, if an industry grows by 50% one year and shrinks by 50% the next, the arithmetic average is 0%. However, if you started with $100, went to $150, and then dropped to $75, you actually lost money. CAGR accounts for this beginning and ending reality, providing a much more accurate picture of investment performance or market trajectory.
Factors Influencing Industry Growth
When analyzing the numbers generated by this calculator, consider the external factors driving the data:
Technological Innovation: Disruptive tech often leads to double-digit growth rates (e.g., AI, Renewable Energy).
Regulatory Changes: Government subsidies or restrictions can artificially inflate or deflate market size.
Economic Cycles: Recessions typically lower growth rates across consumer discretionary sectors.
Market Saturation: Mature industries (like Utilities) typically show low, single-digit CAGR compared to emerging industries.
Interpreting the Results
Once you have your result from the calculator above, how do you know if it is "good"?