Normal Distribution Curve in Excel: Step-by-Step Guide
In this article
To create a normal distribution curve in Excel, you need to generate a sequence of X-axis values, calculate the probability density for each using the NORM.DIST function, and then plot these values using a Scatter Chart with smooth lines. This process allows you to visualize the "bell curve" that represents how data is distributed around a mean average.
What You'll Need
- Microsoft Excel (any modern version)
- A dataset of numbers (or a known Mean and Standard Deviation)
- Basic familiarity with entering formulas into cells
Step-by-Step
- Calculate the Mean and Standard Deviation: If you have a raw list of data, you first need the average and the spread. In an empty cell, use
=AVERAGE(range)to find the mean. In another cell, use=STDEV.P(range)for the population standard deviation. Note these two values, as you will need them for the formula. - Create the X-Axis Data Range: To get a smooth curve, you need a series of numbers that cover the range of your data.
- Determine your minimum and maximum values (usually 3 to 4 standard deviations away from the mean).
- In a new column (e.g., Column A), enter the starting value in the first cell.
- In the cell below, add a small increment (e.g., 0.1 or 1) to the previous value.
- Click and drag the fill handle (the small square at the bottom-right of the cell) down until you reach your maximum value.
- Calculate the Normal Distribution (Y-Axis): In the column next to your X-axis values (e.g., Column B), you will use the
NORM.DISTfunction. Enter the following formula:=NORM.DIST(x, mean, standard_dev, FALSE).- x: Click the cell in Column A for that row.
- mean: Click the cell containing your mean (use an absolute reference like
$D$1so it doesn't shift when you drag). - standard_dev: Click the cell containing your standard deviation (use an absolute reference like
$D$2). - FALSE: This is critical. Using "FALSE" tells Excel to calculate the Probability Density Function (the height of the curve) rather than the cumulative distribution.
- Fill the Formula Down: Double-click the fill handle of the first
NORM.DISTcell to apply the formula to all the corresponding X-axis values. - Insert the Chart:
- Highlight both columns (the X-axis values and the NORM.DIST results).
- Go to the Insert tab on the top ribbon.
- In the Charts group, click the Scatter icon.
- Select Scatter with Smooth Lines.
- Format the Curve: To make the chart look professional, click the Chart Elements (the plus icon next to the chart) and add Axis Titles. Label the X-axis as your variable and the Y-axis as "Probability Density."
Common Mistakes
- Using TRUE instead of FALSE: If you set the last argument of the
NORM.DISTfunction to TRUE, Excel creates a cumulative distribution curve (an S-shaped line) instead of a bell curve. - Insufficient Data Points: If your X-axis increments are too large (e.g., jumping by 5s when your standard deviation is only 2), the curve will look jagged or like a triangle rather than a smooth bell.
- Incorrect Range References: Forgetting to use absolute references (the
$signs) for the mean and standard deviation cells causes the formula to reference empty cells as you drag it down, resulting in a flat line or errors. - Using a Line Chart instead of a Scatter Chart: A standard Line Chart treats the X-axis as text labels. A Scatter Chart treats the X-axis as numerical values, which is essential for the mathematical accuracy of a distribution curve.
Tips
- Dynamic Ranges: If you want the curve to update automatically when you change your data, use the
MINandMAXfunctions to determine your X-axis start and end points. - Visualizing Standard Deviations: To highlight the 68-95-99.7 rule, you can add vertical lines or shaded areas to your chart to show where one, two, and three standard deviations fall from the mean.
- Comparing Distributions: You can plot multiple curves on the same chart by adding new Y-axis series. This is useful for comparing two different datasets with different means or variances.
Troubleshooting
If the chart does not look like a bell curve, try the following steps in order:
- Check the Function Argument: Ensure the final part of your
NORM.DISTformula isFALSE. This is the most common cause of an S-curve instead of a bell curve. - Verify the X-Axis Range: Ensure your X-axis values are sorted in ascending order. If they are random, the scatter line will crisscross and look like a scribble.
- Inspect for #VALUE! Errors: If you see errors in your Y-axis column, check that your mean and standard deviation cells contain only numbers and no text or symbols.
- Adjust the Increment: If the curve looks "pointy," increase the number of rows in your X-axis by using a smaller increment (e.g., change 0.5 to 0.1).
Frequently Asked Questions
What is the difference between NORM.DIST and NORM.S.DIST?
NORM.DIST is used for any normal distribution based on a specific mean and standard deviation. NORM.S.DIST is used specifically for the "Standard Normal Distribution," where the mean is always 0 and the standard deviation is always 1.
Why does my curve look like a flat line?
This usually happens because the X-axis range is too wide or too narrow relative to the standard deviation, or because the Y-axis values are extremely small. Check that your X-axis values actually surround the mean.
Can I create a normal distribution curve without a dataset?
Yes. As long as you have a theoretical mean and standard deviation, you can manually enter those values into cells and follow the steps to generate the curve.
How do I change the color or thickness of the curve?
Right-click the line on the chart, select Format Data Series, and use the Fill & Line (paint bucket) icon to change the color, width, or dash type of the line.
Does this work in Google Sheets?
Yes, the process is nearly identical. Google Sheets uses the same NORM.DIST function and the same Scatter Chart logic.