Skip to content
Omnikalc

Bandgap voltage reference calculator

Enter the base-emitter voltage, the transistor area ratio, the resistor ratio and the temperature to get the reference voltage, its drift and the ratio that cancels it.

Updated on
Your inputs
V

Value out of range

°C

Value out of range

Value out of range

Value out of range

mV/K

Value out of range

Results

Reference voltage

1.2094 V

Drift at this temperature

-0.136 mV/K

Resistor ratio for zero drift

11.16

Thermal voltage kT/q
25.86 mV
PTAT voltage (R2/R1 × VT × ln N)
559.4 mV
Drift in ppm per kelvin
-113 ppm/K
Reference voltage at zero drift
1.2503 V

The bandgap voltage reference calculator gives the thermal voltage, the PTAT voltage, the reference voltage, the temperature drift in millivolts and ppm per kelvin, the resistor ratio for zero drift and the voltage at that ratio.

How the calculation works

  • Enter the VBE of the transistor at the operating temperature and its temperature coefficient.
  • Enter the emitter area ratio N of the transistor pair.
  • Enter the resistor ratio R2 / R1 of your circuit and read the voltage and the drift.

Example

At 27 °C the thermal voltage is 25.86 mV. With a VBE of 0.65 V, N = 8 and R2 / R1 = 10.4, the PTAT term is 559.4 mV and the reference is 1.2094 V, with a drift of -0.136 mV/K, or -113 ppm/K. The ratio for zero drift is 11.16, which gives 1.2503 V.

Why it matters

The calculator helps analog and mixed-signal design students and engineers who study the bandgap cell used in regulators, converters and data converters, and who want to see how the resistor ratio and the area ratio balance the two temperature coefficients.

Good to know

Use the VBE measured or simulated at the operating collector current and temperature, and the slope of the VBE for your process, usually about −1.8 to −2.2 mV per kelvin. The calculator is a first-order model, so the zero-drift ratio gives zero slope at the chosen temperature only, with a residual curvature away from it. The model ignores the base currents, the offset of the amplifier and the mismatch of the resistors. For a real design, simulate across the process corners and the temperature range.

The voltage divider calculator sets the resistor ratio, the op-amp gain calculator covers the amplifier that forces the currents, the ADC resolution calculator shows why a stable reference matters and the transistor base resistor calculator biases a transistor.

Frequently asked questions

How does a bandgap reference work?

It adds two voltages with opposite temperature coefficients. The base-emitter voltage of a bipolar transistor falls by about 2 mV per kelvin (complementary to absolute temperature), while the difference of the base-emitter voltages of two transistors operating at different current densities is proportional to the absolute temperature (PTAT). Scaled correctly, their sum is almost independent of temperature.

Why is the output about 1.2 volts?

The sum that cancels the first-order drift is close to the bandgap voltage of silicon extrapolated to 0 K, about 1.205 to 1.25 volts. That is why this kind of reference is called a bandgap reference, and why the output voltage of a basic cell is always near 1.2 V regardless of the supply.

What does the area ratio do?

Two transistors with emitter areas in the ratio N carry the same current and so have a base-emitter difference ΔVBE = VT ln N. A larger N gives a larger PTAT voltage for the same resistor ratio, so a smaller R2 / R1 is needed. The usual values are N = 8 for a good compromise of size and matching.

How accurate is the result?

The calculator uses the first-order model with a constant VBE slope. Real references have a small curvature of the VBE, which gives a parabolic residual drift of some tens of ppm per kelvin over the range, and need curvature compensation for the best performance. The accuracy also depends on the matching of the resistors and the transistors.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.