Current Mirror Calculator
Calculate current mirror output current, beta error, reference resistor, power consumption, and Widlar mirror resistor for analog IC and bias circuit design
Basic BJT mirror, I_out = N·I_ref·β/(β + 2) · Widlar equationAPI slug current-mirror
Specification
Circuit
| Ref | Position | Ideal |
|---|---|---|
| R1 | Reference | 4.3kΩ |
Response
- Output Current (with β error)
- 1.961mA
- Output Current Error
- +2.0%
- Reference Branch Power
- 5mW
Formula
| Symbol | Quantity | Your value |
|---|---|---|
| Iref | Reference current (A) | 1 mA |
| N | Mirror ratio | 2 × |
| β | Transistor current gain | 100 |
| VT | Thermal voltage (V) | 26 mV |
| RW | Widlar emitter resistor (Ω) | 0 kΩ |
Assumptions
6 items
- 01A two-transistor BJT mirror whose reference current is set by a resistor from V_CC, with V_BE fixed at 0.7 V: R_ref = (V_CC − 0.7 V)/I_ref, and the reference branch draws I_ref·V_CC.
- 02The output is N·I_ref less the base-current error, I_out = N·I_ref·β/(β + 2): that factor is the 1:1 mirror’s and is applied at every ratio, where an N:1 mirror’s own is 1/(1 + (N + 1)/β).
- 03Below a ratio of 1 the design is a Widlar source: an emitter resistor R_W = V_T·ln(I_ref/I_out)/I_out sets the smaller output, with V_T the thermal voltage entered (26 mV by default), and the same β factor is then applied.
- 04The transistors are matched and at one temperature, and the output’s resistance is infinite: V_BE mismatch, the Early effect and the output’s voltage compliance are not modelled.
- 05With a part series chosen, R_ref and R_W are each rounded to the nearest value of that series; the reference current becomes (V_CC − 0.7 V)/R_ref, a Widlar output is solved again from V_T·ln(I_ref/I) = I·R_W, and the output current, the reference power and the error are the rounded resistors’.
- 06The error is the output’s shortfall against N·I_ref in percent, the β factor’s and, with a part series, the rounded resistors’; it is negative when the output is above N·I_ref.
Worked example
1 mA bias mirror from 12 V, E24
A mirror with a ratio of 1 is to copy a 1 mA reference from a 12 V supply with transistors of β = 100, the reference resistor from the E24 series. Which resistor is it, and what output current and error does the rounded design give?
| Step | Expression | Result |
|---|---|---|
| Exact reference resistor | (12 V − 0.7 V) / 1 mA | 11.3 kΩ |
| Reference resistor in E24 | 11.3 kΩ → E24 | 11 kΩ |
| Reference current as built | (12 V − 0.7 V) / 11 kΩ | 1.0273 mA |
| Output current | 1.0273 mA × 1 × 100 / (100 + 2) | 1.007 mA |
| Effect of the rounded resistor on the current | (1.0273 / 1 − 1) × 100 | +2.7 % |
| Effect of β on the current | (100 / (100 + 2) − 1) × 100 | −1.96 % |
| Error against N × I_ref, where the two partly cancel | (1 × 1 mA − 1.007 mA) / (1 × 1 mA) | −0.7 % |
| Reference branch power | 1.0273 mA × 12 V | 12.33 mW |
How it works
Current mirror calculator computes reference and output currents for precision bias networks — essential for analog IC design, current sources, and active loads. IC designers, analog engineers, and instrumentation specialists use current mirrors to replicate a reference current with high accuracy. Per Horowitz & Hill 'Art of Electronics' (3rd ed., Ch.2), a basic BJT current mirror achieves 1-5% matching between reference and output currents when transistors are thermally coupled. The simple mirror has output impedance r_o = VA/Ic (Early voltage / collector current), typically 50kΩ-500kΩ. Wilson and cascode mirrors improve output impedance by 10-100×. MOSFET mirrors achieve similar performance with zero input current, but require matched threshold voltages (ΔVth < 10mV for 1% accuracy).
Practical tips
- Use matched transistor pairs (MAT12: 0.5mV Vbe match, 0.5% β match) for current mirrors requiring <1% accuracy — discrete 2N3904 pairs achieve only 2-5% matching
- Add emitter degeneration Re = 0.1V/Ic for 5× improvement in matching — the voltage drop reduces sensitivity to Vbe variations
- For high output impedance, use cascode mirror (10MΩ+) or Wilson mirror (5MΩ+) instead of simple mirror (100kΩ); essential for high-gain amplifier biasing
Common mistakes
- Using discrete transistors without thermal coupling — 2mV/°C Vbe difference causes 8%/°C mirror error; mount transistors adjacent on PCB or use matched pair (MAT12, SSM2212)
- Ignoring Early effect — simple mirror has r_o = VA/Ic; load voltage changes cause 1-5% current variation. Use Wilson mirror for 100× higher output impedance
- Forgetting base current error — simple BJT mirror has error = 2/β; at β = 100 this is 2% error. Wilson mirror reduces error to 2/β² = 0.02%
Frequently asked questions
4 questions
What is the primary purpose of a current mirror?
Replicate a reference current to other circuit branches with high accuracy and high output impedance. Applications: bias current distribution in op-amps, active loads for differential pairs, reference current sources for DACs. Per Gray & Meyer 'Analysis and Design of Analog Integrated Circuits', 90% of analog ICs use current mirrors.
Can current mirrors work with different transistor types?
Best results require matched transistors — identical type on same die (IC) or matched pair package. Discrete transistors must be same part number, same manufacturer lot, and thermally coupled. MOSFET mirrors require ΔVth < 10mV for 1% accuracy; BJT mirrors require ΔVbe < 2mV.
What factors affect current mirror accuracy?
Vbe/Vth mismatch (±2mV = ±8% for BJT), β mismatch (±20% = ±1% error for Wilson), Early effect (1-5% load-dependent error), temperature gradient (2mV/°C = 8%/°C for BJT). Integrated matched pairs achieve <0.5% matching; discrete circuits achieve 2-5% without trimming.
How do I scale current in a mirror?
For BJTs: use emitter area ratio or multiple transistors in parallel. Two parallel output transistors give 2× current. For MOSFETs: use W/L ratio — output W/L = 2× reference W/L gives 2× current. Emitter/source degeneration resistors must scale inversely with current ratio to maintain matching.
Shop Components
As an Amazon Associate we earn from qualifying purchases.