Excel Tutorial- Calculate Molarity from Absorbance Data
What You're Actually Doing Here
You're measuring how much light a solution absorbs, and you want to convert that absorbance value into concentration. This is standard procedure in chemistry labs. The math is straightforward once you understand the relationship between absorbance and concentration.
This tutorial shows you exactly how to set up Excel to do this calculation, with real numbers and working formulas you can copy directly.
The Science: Beer-Lambert Law
Absorbance and concentration connect through Beer-Lambert Law:
A = ε × b × c
Where:
- A = Absorbance (unitless, what your spectrophotometer measures)
- ε = Molar absorptivity coefficient (L/mol·cm, specific to your compound and wavelength)
- b = Path length (cm, usually 1 cm for standard cuvettes)
- c = Concentration (mol/L or M, which is molarity)
Rearrange to solve for molarity:
c = A / (ε × b)
That's it. That's the whole calculation.
What You Need Before Opening Excel
- Spectrophotometer absorbance readings
- Molar absorptivity coefficient (ε) for your specific compound at your measurement wavelength
- Cuvette path length (almost always 1 cm)
- Known standard concentrations if you're building a calibration curve
Method 1: Direct Calculation (Single Sample)
If you already know ε and have one absorbance reading, this takes 30 seconds.
Step-by-Step Setup
Step 1: Open Excel. Set up your columns like this:
| Cell | Content | |------|---------| | A1 | Absorbance (A) | | B1 | Molar Absorptivity (ε) | | C1 | Path Length (b) | | D1 | Molarity (c) |
Step 2: Enter your values. Example:
| Cell | Value | |------|-------| | A2 | 0.45 | | B2 | 14500 | | C2 | 1 |
Step 3: In cell D2, enter this formula:
=A2/(B2*C2)
Step 4: Press Enter. Your answer is 3.10 × 10⁻⁵ M.
That's the direct method. Works when you have a reliable ε value from literature or previous experiments.
Method 2: Calibration Curve (Multiple Standards)
When you don't trust literature values, you build your own standard curve. This is more accurate because it accounts for your specific instrument, solvent, and conditions.
Step 1: Prepare Your Standards
Create a series of known concentrations. Typical setup:
| Sample | Concentration (M) | |--------|-------------------| | Blank | 0 | | Std 1 | 1.00 × 10⁻⁵ | | Std 2 | 2.00 × 10⁻⁵ | | Std 3 | 5.00 × 10⁻⁵ | | Std 4 | 1.00 × 10⁻⁴ | | Std 5 | 2.00 × 10⁻⁴ |
Step 2: Enter Data in Excel
Column A = Known concentrations (M)
Column B = Measured absorbance
Example data:
| A (Concentration) | B (Absorbance) | |-------------------|----------------| | 0 | 0.000 | | 0.00001 | 0.152 | | 0.00002 | 0.298 | | 0.00005 | 0.745 | | 0.0001 | 1.485 | | 0.0002 | 2.956 |
Step 3: Create Scatter Plot
Select both columns → Insert → Scatter → Scatter with Straight Lines and Markers
This gives you a visual check. If your points don't fall roughly on a straight line, something's wrong with your standards or measurements.
Step 4: Add Trendline and Equation
Click any data point → Add Trendline → Linear
Check the box: Display Equation on chart
You'll see something like: y = 14785x + 0.0042
In Beer-Lambert terms:
- Slope = ε × b
- y-intercept ≈ 0 (should be, if blanked correctly)
Step 5: Calculate Unknown Concentration
Say you measured an unknown with A = 0.650
Using the equation: c = (A - intercept) / slope
In Excel cell C2 (unknown concentration):
=(0.650 - 0.0042) / 14785
Result: 4.37 × 10⁻⁵ M
Or use the slope value from the chart in your formula:
=(0.650 - INTERCEPT(B2:B7,A2:A7)) / SLOPE(B2:B7,A2:A7)
This way Excel pulls the exact values from your calibration curve automatically.
Method 3: Using LINEST for Full Statistics
If you want uncertainty estimates and better precision, use LINEST instead of just a trendline.
Setup:
Select a 2×5 range (2 columns, 5 rows) and enter:
=LINEST(B2:B7,A2:A7,TRUE,TRUE)
Press Ctrl+Shift+Enter (array formula).
Output gives you:
| Slope | Slope error | |-------|-------------| | Y-intercept | Y-intercept error | | R² | Standard error | | F-statistic | Degrees of freedom |
Now you can calculate concentration with error propagation:
=(0.650 - Y_intercept) / Slope
Quick Reference: Common Issues
| Problem | Cause | Fix |
|---|---|---|
| Absorbance > 1.0 | Solution too concentrated | Dilute sample and remeasure |
| Nonlinear calibration curve | Concentration range too wide | Use lower concentration range |
| Negative intercept | Blank not subtracted properly | Re-zero spectrophotometer |
| R² < 0.99 | Poor standard preparation | Remake standards more carefully |
| Calculated c doesn't match expected | Wrong ε value used | Verify ε at your specific wavelength |
Getting Started: Copy-Paste Template
Here's a ready-to-use setup for a 5-point calibration curve:
Columns:
- A2:A7 = Known standard concentrations
- B2:B7 = Measured absorbance values
- C1 = "Unknown Absorbance"
- C2 = Your unknown absorbance reading (e.g., 0.650)
- D1 = "Calculated Molarity"
- D2 =
=(C2-INTERCEPT(B2:B7,A2:A7))/SLOPE(B2:B7,A2:A7)
Change C2 to your actual absorbance reading. The formula updates instantly.
What About Path Length?
Standard cuvettes have 1 cm path length. If you're using something different:
c = A / (ε × b)
Just change the b value in your formula. Microplate readers often have 0.65 cm path length. Check your instrument specifications.
The Bottom Line
For single samples: divide absorbance by (molar absorptivity × path length).
For unknown samples: build a calibration curve, get the slope, divide absorbance by slope.
Excel handles the math fine. The hard part is getting good absorbance measurements and accurate standards. That's where your errors actually come from, not from the spreadsheet.