Skip to content
Omnikalc

BJT current mirror calculator

Enter the supply, the reference resistor, the current gain, the mirror ratio and the Early voltage to get the reference current, the output current and the error.

Updated on
Your inputs
V

Value out of range

kΩ

Value out of range

V

Value out of range

Value out of range

Value out of range

V

Value out of range

V

Value out of range

Results

Reference current

1.0000 mA

Output current with finite beta and Early effect

1.0223 mA

Error against the ideal current

2.23 %

Ideal output current (m × Iref)
1.0000 mA
Output current with finite beta
0.9804 mA
Output resistance ro = VA / Iout
97.8 kΩ

The BJT current mirror calculator gives the reference current, the ideal output current, the output current with a finite beta, the current with the Early effect, the error and the output resistance of a simple bipolar mirror.

How the calculation works

  • Enter the supply voltage, the reference resistor and the base-emitter voltage.
  • Enter the current gain β, the mirror ratio and the Early voltage.
  • Enter the voltage at the output collector to include the Early effect.

Example

With 10 V and 9.3 kΩ, the reference current is 1.0000 mA and the ideal output for a ratio of 1 is 1.0000 mA. With a beta of 100, the output becomes 0.9804 mA, and with an Early voltage of 100 V and a collector at 5 V it is 1.0223 mA, an error of 2.23 %. The output resistance is 97.8 kΩ.

Why it matters

The calculator helps electronics students and designers of analog circuits who use current mirrors to bias amplifiers, to build active loads and to copy currents, and who want to see how much the beta and the Early voltage change the output before choosing a better topology.

Good to know

Use the beta and the Early voltage at the operating current, since both vary with the current and with the temperature, and use the base-emitter voltage of your transistor. The model is for a simple mirror with matched transistors at the same temperature, in the forward active region, with the collector voltage above the saturation voltage. A mirror with a ratio above 1 amplifies the base current error. For accurate sources, use emitter degeneration, a Wilson or a cascode mirror, or a matched pair in one package.

The transistor base resistor calculator biases a single transistor, the LED resistor calculator sets an LED current, the voltage divider calculator splits a voltage and the op-amp gain calculator sets the gain of an amplifier stage.

Frequently asked questions

How does a bipolar current mirror work?

A reference current flows through a diode-connected transistor, which sets its base-emitter voltage. The same voltage is applied to the base of a second transistor, so it carries a collector current equal to the reference current times the ratio of the emitter areas. The output current copies the reference, and it can drive a load at a high impedance.

Why is the output not exactly equal to the reference?

The base currents of the two transistors are taken from the reference current. For a simple mirror with a ratio m, the output current is m × Iref / [1 + (1 + m) / β], so a finite beta lowers it. At β = 100 and m = 1, the error is about 2 percent. The Early effect then changes the output current with the collector voltage.

What is the Early effect?

The collector current of a transistor increases slightly with the collector-emitter voltage because the base width shrinks, which is modeled by the Early voltage VA. The output resistance of the mirror is about VA / Iout, so it is high for a small current and falls for a large one. A large VA means a better current source.

How can the accuracy be improved?

A mirror with a base current compensation transistor (a beta helper) reduces the beta error to a second-order term. Emitter degeneration resistors, a Wilson mirror or a cascode mirror raise the output resistance and reduce the effect of the collector voltage. Matched transistors on the same chip help the ratio and the thermal tracking.

Was this calculator helpful?

Thanks for your feedback!

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