LabCanvas

Tauc plot band gap calculator (UV–vis)

Convert each wavelength to photon energy (E = 1240/λ, E in eV, λ in nm), plot (αhν)² against hν for a direct allowed transition or (αhν)^½ for an indirect one, fit a straight line to the steep part of the absorption edge and extend it to the energy axis: the intercept is the optical band gap Eg. Paste your spectrum and the calculator does the plot, the fit and the intercept.

Last updated

FreeNo sign-upRuns in your browserData analysis

Loading Tauc plot band gap calculator…

At a glance

Tauc plot band gap calculator at a glance
MethodTauc plot: (αhν)^(1/n) against hν, straight-line fit, intercept on the energy axis
TransitionsDirect allowed (n = ½) and indirect allowed (n = 2)
Photon energyE = 1240 / λ (eV, nm)
InputAbsorbance against wavelength (nm) or energy (eV); optional baseline and film thickness
Linear regionSuggested automatically, editable
ExportTauc plot as PNG or SVG; data and result as CSV
Runs inYour web browser; nothing is uploaded
PriceFree, no account needed

What it does

How to use the tauc plot band gap calculator

  1. Paste the spectrumTwo columns: wavelength in nm (or photon energy in eV) and absorbance. A header row is skipped.
  2. Choose the transitionDirect allowed (n = ½) plots (αhν)²; indirect allowed (n = 2) plots (αhν)^½. Use what is known for your material.
  3. Remove the baselineIf the absorbance is not zero below the gap, enter that flat level so it is subtracted before the plot.
  4. Check the linear regionLook at the plot: the suggestion is the steepest straight part of the edge. Type a different range in eV if it is not the part you mean.
  5. Read and exportRead Eg where the line meets the energy axis, and download the plot (PNG or SVG) and the data (CSV). Report the range you fitted.

How it works

E (eV) = 1240 / λ (nm)    αhν ∝ (hν − Eg)n    (αhν)1/n = A·(hν − Eg)

Tauc plot. Tauc analysis of a UV–vis absorption spectrum is the routine way to estimate the optical band gap, and it needs the Tauc exponent n of the electronic transition: n = ½ for a direct band gap and n = 2 for an indirect one (Idriss 2026, who uses rutile and anatase TiO₂ as the two cases). With αhν ∝ (hν − Eg)n, the quantity (αhν)1/n is a straight line in hν just above the gap, so (αhν)² is plotted for a direct and (αhν)½ for an indirect transition. A least-squares line is fitted to the linear part of the edge and extended to zero; where it meets the energy axis is Eg (Garg et al. 2023).

Absorbance or α. Multiplying α by a constant does not move the point where the line meets the axis, so absorbance (proportional to α for a fixed sample) can be used as it is. With a film thickness d, the tool plots α = ln 10 · A / d, from A = log₁₀(I₀/I) and I = I₀·e−αd with reflection ignored. Photon energies come from E = 1240/λ (Rai et al. 2025).

Baseline and limits. Absorption below the gap makes different extrapolations disagree; removing the baseline before building the plot resolves it (Zhong et al. 2023). A Tauc estimate also tends to fall below the true gap when the spectrum has a sub-gap (Urbach) tail or excitonic absorption, and depends on sample thickness (Garg et al. 2023). It can mislead for mixed-phase samples with two kinds of transition (Idriss 2026). The linear region is suggested by a simple rule, the steepest window of consecutive points whose straight-line fit has R² ≥ 0.99; it is a starting point, not a rule from the literature.

Sources: Idriss H. Extraction of band gap energies and composition of mixed-phase polycrystalline semiconductors; a possible alternative method. J Phys Condens Matter 2026;38, doi:10.1088/1361-648X/ae3cf5. Garg AB, Vie D, Rodriguez-Hernandez P, Muñoz A, Segura A, Errandonea D. Accurate determination of the bandgap energy of the rare-earth niobate series. J Phys Chem Lett 2023;14:1762–1768, doi:10.1021/acs.jpclett.3c00020. Zhong H et al. Idealizing Tauc plot for accurate bandgap determination of semiconductor with ultraviolet-visible spectroscopy. J Phys Chem Lett 2023;14:6702–6708, doi:10.1021/acs.jpclett.3c01416. Rai R, Kaleem M, Bhandari R, Misra A. ChemPlusChem 2025;90:e202400660, doi:10.1002/cplu.202400660 (E = 1240/λ).

Worked example: a synthetic direct-gap spectrum

The built-in example is a synthetic spectrum, not a measurement: absorbance from 300 to 500 nm in 2 nm steps, generated for a direct allowed gap at 3.20 eV with a weak absorption tail below the gap and a flat absorbance of 0.02 underneath.

  1. Each wavelength becomes an energy: 400 nm is 1240/400 = 3.10 eV.
  2. With the direct transition chosen, (A·hν)² is plotted against hν.
  3. The suggested range runs from 3.196 to 3.388 eV (12 points, R² = 0.9995) and its line meets the axis at Eg = 3.19 eV, an absorption edge near 389 nm.
  4. Entering 0.02 as the baseline and fitting again gives 3.20 eV, the gap the spectrum was made with: the flat absorbance under the edge had pulled the intercept down.

Frequently asked questions

How do I calculate the band gap from a UV–vis spectrum?

Convert wavelength to photon energy with E = 1240/λ (eV, nm), plot (αhν)² against hν for a direct transition or (αhν)^½ for an indirect one, fit a straight line to the steep linear part of the absorption edge and extend it to the energy axis. The intercept is the optical band gap.

Should I use (αhν)² or (αhν)^½?

It depends on the transition. The Tauc exponent n is ½ for a direct band gap and 2 for an indirect one, and the plot is (αhν)^(1/n): (αhν)² for direct, (αhν)^½ for indirect. Idriss (2026) gives rutile TiO₂ (direct) and anatase TiO₂ (indirect) as examples.

Can I use absorbance instead of the absorption coefficient?

Yes. Scaling α by a constant does not move the point where the fitted line meets the energy axis, so absorbance of the same sample gives the same band gap. Enter the film thickness only if you want α in cm⁻¹ on the axis.

Which part of the curve should I fit?

The steep, straight part of the edge just above the onset, not the tail below it or the bend at the top. The calculator suggests the steepest straight stretch; check it on the plot and report the energy range you used.

Why is my Tauc band gap lower than the literature value?

A sub-gap absorption tail (Urbach tail), excitonic absorption and a non-zero baseline all pull the intercept down; Garg et al. (2023) found Tauc estimates below the accurately known gaps of two niobates. Subtract the baseline below the gap (Zhong et al. 2023) and fit only the steep part of the edge.

Can I use diffuse reflectance data?

Yes, after converting reflectance with the Kubelka–Munk function in your spectrometer software: F(R) is approximately proportional to the absorption coefficient and is analysed the same way (Garg et al. 2023). Paste F(R) in place of absorbance.

Does the Tauc plot work for a mixture of phases?

Not reliably. A mixed-phase sample, such as anatase and rutile TiO₂ together, has two kinds of transition, and one Tauc exponent cannot describe both (Idriss 2026).

Make the whole figure in LabCanvas

Vector figure editor, slides, 3D models, protein structures and Prism-style graphs, in your browser.

Get started