Tauc plot calculator: band gap from UV-Vis

Drop or paste a UV-Vis absorbance or diffuse reflectance spectrum and get the Tauc plot, a suggested linear region you can drag, and the optical band gap Eg with its uncertainty. Several spectra can be overlaid. It runs in your browser; your data stays on your computer and nothing is uploaded.

Loading…

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

  1. 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.
  2. 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”.
  3. 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.
  4. 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:

nTransitionQuantity plotted
1/2direct allowed(αhν)²
2indirect allowed(αhν)1/2
3/2direct forbidden(αhν)2/3
3indirect 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.

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

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.