A Tauc plot turns a UV-Vis spectrum into a straight line whose x-intercept is the optical band gap. You plot (αhν)1/n against the photon energy hν, fit a line to the steep part of the absorption edge, and read where the line meets the energy axis. The calculator above does it: it converts wavelength to energy, converts absorbance, transmittance or diffuse reflectance (Kubelka–Munk) to a quantity proportional to the absorption coefficient α, suggests the linear region, and reports Eg ± its fit uncertainty. Try the TiO₂ anatase example (synthetic, indirect gap, n = 2) or the synthetic direct-gap example.
How to use the Tauc plot calculator
- Load a spectrum. Drop a CSV, TXT or XLSX file, open one, or paste two columns from Excel or your instrument software. The first column is the wavelength (nm), energy (eV) or wavenumber (cm⁻¹); the next column is absorbance, transmittance or reflectance. The unit and the type of the y values are detected from the header and the numbers, and you can correct them.
- Choose the transition. Direct allowed (n = 1/2) is the default; indirect allowed is n = 2. The forbidden transitions (n = 3/2 and 3) are under “More”.
- Check the window. The shaded band is the part of the edge that was fitted. Drag its two handles, or type the limits, and Eg updates at once. “Back to automatic” restores the suggestion.
- Read the result. The table gives Eg from the x-intercept with its uncertainty, Eg from the baseline method, the window, R² and the number of points, one row per spectrum. Download the results or the transformed data as CSV, or open the figure in the free Plot tool to style it for a paper.
What a Tauc plot is
Near the absorption edge of a semiconductor, light is absorbed only when the photon energy exceeds the band gap, and the absorption coefficient grows in a known way with the excess energy. Tauc, Davis and Mott showed that a suitable power of αhν is then a straight line in hν. Extrapolating that line to zero absorption gives the optical band gap. It is the standard way to get a band gap number from a UV-Vis or diffuse reflectance spectrum of a powder, a film or a solution of nanoparticles.
The Tauc equation and the value of n
The relation is
(α hν)^(1/n) = B (hν − Eg)
where hν is the photon energy, α the absorption coefficient, B a constant and n depends on the kind of electronic transition:
| n | Transition | Quantity plotted |
|---|---|---|
| 1/2 | direct allowed | (αhν)² |
| 2 | indirect allowed | (αhν)1/2 |
| 3/2 | direct forbidden | (αhν)2/3 |
| 3 | indirect forbidden | (αhν)1/3 |
The photon energy follows from the wavelength, hν = 1239.84 / λ with λ in nm and hν in eV (hc = 1239.84193 eV nm), or from a wavenumber, hν = 1.239842×10⁻⁴ × ν̃ with ν̃ in cm⁻¹. Which n to use is a property of the material: ZnO and CdS are normally analysed as direct gaps, TiO₂ anatase and silicon as indirect ones. Check the literature for your material and state the n you used with the number.
Absorbance, transmittance or diffuse reflectance
The Tauc relation needs a quantity proportional to α. Only the proportionality matters: a constant factor changes the slope of the line, not its x-intercept, so you do not need the film thickness to get Eg.
- Absorbance A (solutions, transparent films): α ∝ A, used as it is. If you know the thickness d, α = 2.303 A / d, which only rescales the vertical axis.
- Transmittance T: A = −log10(T), with T as a fraction (a value in % is divided by 100).
- Diffuse reflectance R (powders, opaque samples): the Kubelka–Munk function F(R) = (1 − R)² / 2R is proportional to the absorption coefficient for a sample that is thick enough not to transmit light, and F(R) takes the place of α. For R = 50 % it is 0.25; for R = 10 % it is 4.05. Because F(R) diverges at R = 0, reflectance below 0.1 % is clipped and a warning is shown.
How to choose the linear region
The Tauc plot has three parts: a low sub-gap tail, a steep rising edge that is straight, and, at higher energy, a curved or flat part where the absorbance saturates or other transitions set in. Fit only the straight part of the edge.
The automatic suggestion works on the rising edge, from 5 % of the maximum up to the maximum. It looks at every window of at least 5 points that also spans at least 0.1 eV, keeps those that are straight (R² ≥ 0.99), scores each by its slope minus twice the standard error of that slope (so a short, noisy window cannot win by chance), and then takes the widest window whose slope is within about 3 % of the best one, so that a straight edge is fitted whole. If no window reaches R² 0.99, the most linear one is shown with a warning. Very noisy data are lightly smoothed (Savitzky–Golay) for this search only; the line is always fitted to your raw points. Treat the result as a first guess, look at the plot, and drag the handles if the window includes the tail or the bend.
The baseline method
Some authors do not take the intercept with the energy axis but the intersection of the edge line with a straight line fitted to the sub-gap region, because real spectra do not drop to zero below the gap (defect states, scattering, a baseline offset). The table gives both numbers. The sub-gap line is fitted over the 0.5 eV below the gap, ending 0.1 eV under it, and you can drag its window too. If the two values agree within a few hundredths of an eV, the choice does not matter; if they differ by more, say which one you report.
How Eg and its uncertainty are calculated
A straight line y = m·hν + b is fitted by least squares to the Tauc quantity over the window. The band gap is Eg = −b / m. The uncertainty uses the standard errors of m and b and their covariance:
σ(Eg)² = σb² / m² + b² σm² / m⁴ − 2 b σmb / m³
with σmb = −s² hν̄ / Sxx, the covariance of slope and intercept. For the baseline method the same propagation is applied to the intersection of the two lines. This is the statistical uncertainty of the fit only; it does not include the choice of window or of n.
Common mistakes
- Wrong n. Using the direct form for an indirect material (or the reverse) gives a different Eg and a bent, not straight, edge. Compare both Tauc plots and use the one the literature supports.
- Fitting the tail. The exponential Urbach tail below the gap looks like the start of the edge. A line through it puts the intercept too low.
- Fitting the saturation. Above an absorbance of about 2 to 3 the detector is no longer linear and the plot bends over. Keep the window on the straight rise.
- Thick films and interference fringes. Fringes ripple the edge of a film; use a smoothed or fringe-corrected spectrum and a window that spans a few fringes.
- Scattering and a baseline offset. Powders scatter; a spectrum measured as transmittance through a powder is not an absorption spectrum. Use diffuse reflectance with Kubelka–Munk, and check the baseline.
- Reflectance used as if it were absorbance. Reflectance falls where absorbance rises. Choose the right y type, or convert to F(R) first.
- Wavelength not converted. The horizontal axis of a Tauc plot is energy in eV, not wavelength.
- Too short a window. A window of a few noisy points gives a line that extrapolates badly. The automatic window spans at least 0.1 eV.
Frequently asked questions
How do I make a Tauc plot in Excel?
You need three columns. Convert the wavelength to photon energy, hν = 1239.84 / λ (nm), in eV. Convert the absorbance to α ∝ A (or the reflectance to F(R) = (1 − R)² / 2R). Then compute y = (α·hν)² for a direct gap or (α·hν)^½ for an indirect gap. Plot y against hν, fit a straight line to the steep part of the edge and read the x-intercept, Eg = −intercept / slope. This page does all of that for you, picks a first window, lets you drag it, and reports Eg with an uncertainty.
Should I use the direct or the indirect band gap (n = 1/2 or n = 2)?
Use the transition type that the literature gives for your material: for example ZnO and CdS are analysed as direct gaps (n = 1/2) and TiO2 anatase as an indirect gap (n = 2). If you do not know, try both and keep the one whose Tauc plot has the longer, straighter edge. Your spectrum alone cannot prove the transition type, so state which n you used.
Why is my band gap different from the literature value?
The usual causes are a different n, a fit window that includes the sub-gap tail or the saturated part, scattering or an offset in the baseline, film thickness and interference fringes, and a different definition of the gap (x-intercept or baseline method). A difference of a few hundredths of an eV between two careful fits is normal; 0.1 eV or more usually means one of those causes.
Can I use transmittance instead of absorbance?
Yes. Choose transmittance (%) or (0 to 1) as the y type and the page converts it with A = −log10(T), then proceeds as for absorbance. For a thin film the absorbance should be corrected for reflection if you need accurate absorption coefficients, but the x-intercept is not changed by a constant factor.
Can I use diffuse reflectance data?
Yes, for powders and opaque samples. Choose reflectance (% or 0 to 1) and the page applies the Kubelka-Munk function F(R) = (1 − R)² / 2R, which is proportional to the absorption coefficient, and uses F(R) in place of α. Reflectance values very close to zero are clipped with a warning because F(R) diverges there.
What does the ± on the band gap mean?
It is the standard error of the straight-line fit in the chosen window, propagated to the x-intercept using the uncertainties of the slope and the intercept and their covariance. It describes how well that line is determined by the points in the window. It does not include the choice of window or of n, which usually matter more, so report Eg to two decimal places.