---
title: Carriers in equilibrium
heading: How many electrons and holes, and where the Fermi level sits
eyebrow: S1 · Lesson 1 · Carriers in equilibrium
xp: 50
---

::: hook
Every device in this course starts from the same bookkeeping: how many electrons are in the conduction band, how many holes in the valence band, and where the Fermi level sits between them. B9 and B11 built the formulas. This lesson puts them to work the way a device engineer does: reading the Fermi level off a doping, handling a wafer doped with both donors and acceptors, and knowing when a hot transistor's carefully chosen doping stops mattering because the crystal generates more carriers on its own.
:::

::: play
- The curves show where the Fermi level sits, measured from the intrinsic level $E_i$, against the doping: donors above the axis, acceptors below. The dashed lines are the band edges.
- Each decade of doping moves the Fermi level by the same step, $kT\ln10$ = 60 meV at room temperature. Find where the curves bend over at low doping: there the crystal's own carriers, $n_i$, outnumber the dopants.
- Raise the temperature. $n_i$ climbs steeply, the flat region spreads to higher doping, and a lightly doped wafer turns intrinsic.
:::
:::

```sim plot
view: graph
x: N = 1e12..1e19 cm^-3 log
y: E = -0.6..0.6 eV
slider: T = 250..700 = 300 K
plot: 8.617e-5*T*ln(N/(2*1e10*(T/300)^1.5*exp(-((1.17 - 4.73e-4*T^2/(T + 636))/(8.617e-5*T) - 43.499)/2)) + sqrt((N/(2*1e10*(T/300)^1.5*exp(-((1.17 - 4.73e-4*T^2/(T + 636))/(8.617e-5*T) - 43.499)/2)))^2 + 1)) | samples: 600 | label: n-type (donors N)
plot: -8.617e-5*T*ln(N/(2*1e10*(T/300)^1.5*exp(-((1.17 - 4.73e-4*T^2/(T + 636))/(8.617e-5*T) - 43.499)/2)) + sqrt((N/(2*1e10*(T/300)^1.5*exp(-((1.17 - 4.73e-4*T^2/(T + 636))/(8.617e-5*T) - 43.499)/2)))^2 + 1)) | samples: 600 | color: ch2 | label: p-type (acceptors N)
plot: (1.17 - 4.73e-4*T^2/(T + 636))/2 | dashed | color: ch3 | label: conduction band edge
plot: -(1.17 - 4.73e-4*T^2/(T + 636))/2 | dashed | color: ch3 | label: valence band edge
readout: intrinsic density = 1e10*(T/300)^1.5*exp(-((1.17 - 4.73e-4*T^2/(T + 636))/(8.617e-5*T) - 43.499)/2) cm⁻³ | format: sci
readout: band gap = 1.17 - 4.73e-4*T^2/(T + 636) eV
```

::: predict
## Silicon at 300 K is doped with $10^{16}$ donors per cm³. How far below the conduction band edge is the Fermi level?

- [ ] 0.01 eV: right at the edge
- [x] About 0.21 eV
- [ ] About 0.56 eV: at midgap
- [ ] About 0.9 eV

::: reveal
$E_c - E_F = kT\ln\frac{N_c}{n} = 0.02585\ln\frac{3.2 \times 10^{19}}{10^{16}}$ = 0.21 eV. Each decade of doping moves the Fermi level 60 meV, so reaching the band edge would take about $3 \times 10^{19}$ cm⁻³. At that point the Boltzmann formulas stop working and the silicon is called degenerate.
:::
:::

::: nameit
## Electrons and holes from the band edges

With the Fermi level more than about 3kT inside the gap, the Fermi–Dirac occupancy reduces to its Boltzmann tail and the densities are

$$n = N_ce^{-(E_c - E_F)/kT}, \qquad p = N_ve^{-(E_F - E_v)/kT}$$

The **effective densities of states** $N_c = 2\left(\frac{2\pi m_n^*kT}{h^2}\right)^{3/2}$ and $N_v$ count the states within about kT of each edge: for silicon at 300 K, $N_c = 3.2 \times 10^{19}$ and $N_v = 1.8 \times 10^{19}$ cm⁻³. Both grow as $T^{3/2}$.

## The law of mass action

Multiply the two and the Fermi level drops out:

$$np = N_cN_ve^{-E_g/kT} = n_i^2$$

for silicon $n_i \approx 10^{10}$ cm⁻³ at 300 K. Writing the densities from the **intrinsic level** $E_i$, where n = p:

$$n = n_ie^{(E_F - E_i)/kT}, \qquad p = n_ie^{(E_i - E_F)/kT}$$

$E_i$ sits at midgap plus $\frac{kT}{2}\ln\frac{N_v}{N_c}$: 7 meV below midgap in silicon.

## Charge neutrality

In a uniform crystal the charges balance: $p - n + N_d^+ - N_a^- = 0$. With every dopant ionized (true for silicon from about 100 K to several hundred kelvin) and $np = n_i^2$,

$$n = \frac{N_d - N_a}{2} + \sqrt{\left(\frac{N_d - N_a}{2}\right)^2 + n_i^2}$$

When the net doping is much larger than $n_i$, this is just $n = N_d - N_a$ and $p = n_i^2/n$. A crystal with both kinds of dopant is **compensated**: only the difference counts toward the carriers, though both still scatter them.

## Temperature

$$n_i \propto T^{3/2}e^{-E_g/2kT}$$

so near room temperature $n_i$ roughly doubles every 9 K. When $n_i$ approaches the doping, the crystal goes **intrinsic** and the doping stops controlling the carriers: about 550 K for $10^{15}$ cm⁻³ in silicon and 650 K for $10^{16}$. That's one reason silicon devices are rated to 150 or 175 °C, and why wide-gap SiC and GaN run hotter.

## Degeneracy

When $E_F$ comes within about 3kT of a band edge (in silicon, doping above a few $10^{18}$ to $10^{19}$ cm⁻³), the Boltzmann tail underestimates the occupancy, $np = n_i^2$ fails, and the gap itself starts to shrink. Heavily doped contacts and emitters live there.
:::

::: example
## A silicon wafer has $N_d = 10^{16}$ cm⁻³. Find n, p and the Fermi level at 300 K.

::: solution
1. **Electron density.** $N_d \gg n_i$, so every donor gives up its electron:
   $$n = 10^{16}\ \text{cm}^{-3}$$
2. **Hole density.**
   $$\begin{aligned} p &= \frac{n_i^2}{n} \\ &= \frac{10^{20}}{10^{16}} \\ &= 10^4\ \text{cm}^{-3} \end{aligned}$$
   twelve orders of magnitude fewer holes than electrons.
3. **Fermi level above $E_i$.**
   $$\begin{aligned} E_F - E_i &= kT\ln\frac{n}{n_i} \\ &= 0.02585\ln10^6 \\ &= 0.357\ \text{eV} \end{aligned}$$
4. **Fermi level below $E_c$.**
   $$\begin{aligned} E_c - E_F &= kT\ln\frac{N_c}{n} \\ &= 0.209\ \text{eV} \end{aligned}$$
5. **Check.** $E_c - E_i$ is half the 1.125 eV gap plus the 7 meV offset, 0.569 eV, so
   $$0.569 - 0.357 = 0.212\ \text{eV}$$
   The two agree within the rounding of $n_i$.

**Answer:** n = $10^{16}$ cm⁻³ and p = $10^4$ cm⁻³, with the Fermi level 0.357 eV above $E_i$ and 0.209 eV below $E_c$.
:::
:::

::: example
## A layer was doped with $3 \times 10^{16}$ donors, then counter-doped with $10^{16}$ acceptors. Find n, p and $E_F - E_i$.

::: solution
1. **Electron density.** The acceptors take electrons from an equal number of donors, leaving
   $$\begin{aligned} n &= N_d - N_a \\ &= 2 \times 10^{16}\ \text{cm}^{-3} \end{aligned}$$
2. **Hole density.**
   $$\begin{aligned} p &= \frac{10^{20}}{2 \times 10^{16}} \\ &= 5000\ \text{cm}^{-3} \end{aligned}$$
3. **Fermi level.**
   $$\begin{aligned} E_F - E_i &= 0.02585\ln(2 \times 10^6) \\ &= 0.375\ \text{eV} \end{aligned}$$
4. **Mobility.** The mobility is lower than in a wafer with $2 \times 10^{16}$ donors alone, because all $4 \times 10^{16}$ ions scatter electrons.

**Answer:** n = $2 \times 10^{16}$ cm⁻³, p = 5000 cm⁻³ and $E_F - E_i$ = 0.375 eV.
:::
:::

::: example
## How much does $n_i$ grow from 300 K to 400 K, taking $n_i \propto T^{3/2}e^{-E_g/2kT}$ with a fixed 1.12 eV gap? Which wafers stay extrinsic?

::: solution
1. **Power-law factor.**
   $$\left(\frac{400}{300}\right)^{3/2} = 1.54$$
2. **Exponential factor.** With $k = 8.617 \times 10^{-5}$ eV/K,
   $$\begin{aligned} &\exp\!\left[\frac{1.12}{2k}\left(\frac1{300} - \frac1{400}\right)\right] \\ &= 225 \end{aligned}$$
3. **The ratio.**
   $$\begin{aligned} \frac{n_i(400)}{n_i(300)} &= 1.54 \times 225 \\ &= 346 \end{aligned}$$
   so $n_i \approx 3.5 \times 10^{12}$ cm⁻³ at 400 K.
4. **Which wafers stay extrinsic.** A wafer doped $10^{14}$ is still extrinsic; one doped $10^{12}$ has turned intrinsic.
5. **Why it matters.** That's why lightly doped detectors and power devices are the first to fail when hot.

**Answer:** $n_i$ grows 346 times, to about $3.5 \times 10^{12}$ cm⁻³, so a wafer doped $10^{14}$ stays extrinsic and one doped $10^{12}$ turns intrinsic.
:::
:::

::: check
given: N = 1e14 | 1e15 | 1e16 | 1e17
answer: 1e20/N
unit: cm^-3
tolerance: 1%

## Silicon at 300 K has $N_d$ = {N} cm⁻³. What's the hole density?

::: right
Right. $p = \frac{n_i^2}{N_d}$ = {answer} cm⁻³.
:::

::: misses
- [1e10/N] Square $n_i$: $n_i^2 = 10^{20}$.
- [N] That's the electron density; holes are the minority carriers.
- [any] Not yet. $np = n_i^2$.
:::
:::

::: check
given: N = 3e14 | 2e15 | 5e16 | 4e17
answer: 0.02585*ln(N/1e10)
unit: eV
tolerance: 1%

## An n-type silicon sample at 300 K has n = {N} cm⁻³. How far above $E_i$ is the Fermi level?

::: right
Right. $kT\ln\frac{n}{n_i}$ = {answer} eV.
:::

::: misses
- [0.02585*log(N/1e10)] That used log₁₀; the formula needs the natural log.
- [any] Not yet. $E_F - E_i = kT\ln(n/n_i)$ with kT = 0.02585 eV.
:::
:::

::: check
given: N = 1e15 | 1e16 | 1e17 | 1e18
answer: 0.02585*ln(3.2e19/N)
unit: eV
tolerance: 1%

## Silicon ($N_c = 3.2 \times 10^{19}$ cm⁻³) has $N_d$ = {N} cm⁻³. How far below the conduction band is $E_F$ at 300 K?

::: right
Right. $E_c - E_F = kT\ln\frac{N_c}{N_d}$ = {answer} eV.
:::

::: misses
- [0.02585*ln(N/1e10)] That's $E_F - E_i$, measured from the intrinsic level.
- [any] Not yet. Use $n = N_ce^{-(E_c - E_F)/kT}$.
:::
:::

::: check
given: d = 2e16 | 5e16 | 8e16; a = 1e16 | 1.5e16
answer: 1e20/(d - a)
unit: cm^-3
tolerance: 1%

## Silicon has $N_d$ = {d} and $N_a$ = {a} cm⁻³. What's the hole density at 300 K?

::: right
Right. n = $N_d - N_a$, so p = {answer} cm⁻³.
:::

::: misses
- [1e20/d] The acceptors cancel part of the donors: use the net doping.
- [1e20/(d + a)] Compensation subtracts.
- [any] Not yet. Find n first, then $p = n_i^2/n$.
:::
:::

::: check
given: N = 0.6e10 | 2e10 | 5e10
answer: N/2 + sqrt(N^2/4 + 1e20)
unit: cm^-3
tolerance: 1%

## Lightly doped silicon has $N_d$ = {N} cm⁻³, comparable to $n_i = 10^{10}$. What's n at 300 K?

::: right
Right. $n = \frac{N_d}{2} + \sqrt{\frac{N_d^2}{4} + n_i^2}$ = {answer} cm⁻³.
:::

::: misses
- [N] With doping this light, $n_i$ isn't negligible: solve the full neutrality equation.
- [N + 1e10] Not quite: the electrons and holes balance through $np = n_i^2$.
- [any] Not yet. Combine $n - p = N_d$ with $np = n_i^2$.
:::
:::

::: check
given: T = 340 | 380 | 420
answer: 1e10*(T/300)^1.5*exp(-1.12/(2*8.617e-5)*(1/T - 1/300))
unit: cm^-3
tolerance: 1%

## Take silicon's gap as fixed at 1.12 eV and $n_i = 10^{10}$ cm⁻³ at 300 K. What's $n_i$ at {T} K?

::: right
Right. $n_i \propto T^{3/2}e^{-E_g/2kT}$ gives {answer} cm⁻³.
:::

::: misses
- [1e10*exp(-1.12/(2*8.617e-5)*(1/T - 1/300))] Include the $T^{3/2}$ from $N_c$ and $N_v$.
- [1e10*(T/300)^1.5*exp(-1.12/(8.617e-5)*(1/T - 1/300))] The exponent has $E_g/2kT$: half the gap.
- [any] Not yet. Take the ratio to 300 K.
:::
:::

::: check
given: m = 0.067 | 0.55 | 1.08
answer: 2.5094e19*m^1.5
unit: cm^-3
tolerance: 1%

## A band has density-of-states effective mass {m}. What's its effective density of states at 300 K?

::: right
Right. $N_c = 2.51 \times 10^{19}(m^*/m)^{3/2}$ = {answer} cm⁻³.
:::

::: misses
- [2.5094e19*m] The mass enters to the 3/2 power.
- [any] Not yet. $N_c = 2.51 \times 10^{19}m^{3/2}$ cm⁻³ at 300 K.
:::
:::

::: check
given: c = 4.7e17 | 3.2e19; v = 9e18 | 1.8e19
answer: 0.02585/2*ln(v/c)*1000
unit: meV
tolerance: 1%

## A semiconductor has $N_c$ = {c} and $N_v$ = {v} cm⁻³. How far is its intrinsic level above midgap at 300 K? (Negative means below.)

::: right
Right. $\frac{kT}{2}\ln\frac{N_v}{N_c}$ = {answer} meV.
:::

::: misses
- [0.02585/2*ln(c/v)*1000] Upside down: more valence states pull $E_i$ up toward the conduction band.
- [0.02585*ln(v/c)*1000] Half of that: $E_i$ splits the difference.
- [any] Not yet. Set n = p and solve for $E_F$.
:::
:::

::: check
kind: parts
given: N = 1 | 10 | 100; a = 0.2 | 0.5

## Silicon at 300 K has $N_d = N \times 10^{15}$ cm⁻³ with N = {N}, counter-doped with acceptors at {a} of that density.

::: part
answer: N*1e15*(1 - a)
unit: cm⁻³
tolerance: 0.5%

### What is n?

::: misses
- [N*1e15] Acceptors compensate some of the donors.
- [any] $N_d - N_a$.
:::
:::

::: part
answer: 0.02585*ln(N*1e15*(1 - a)/1e10)
unit: eV
tolerance: 0.5%

### Where is $E_F$ above $E_i$?

::: misses
- [any] $kT\ln(n/n_i)$.
:::
:::
:::

::: check
kind: derivation
vars: n = 1e14..1e18, T = 250..450

## A wafer has n electrons per cm³ at temperature T, with $n_i = 10^{10}$ cm⁻³ at 300 K.

::: step
answer: 1e20/n

### Taking $n_i = 10^{10}$, what is p?
:::

::: step
answer: 8.617e-5*T*ln(n/1e10)

### Taking $n_i = 10^{10}$, how far above $E_i$ is $E_F$, in eV, at temperature T?
:::

::: right
Right. The Fermi level's distance from midgap grows with the log of the doping and in proportion to the temperature.
:::
:::

::: explain
## Why does $np = n_i^2$ hold no matter how the crystal is doped?

::: model
In equilibrium the electron density depends on how far the Fermi level sits below the conduction band, and the hole density on how far it sits above the valence band. Moving the Fermi level up by some amount multiplies n by a factor and divides p by the same factor, because the two distances add up to the gap. So their product depends only on the gap, the temperature and the densities of states, which are properties of the crystal. Physically, electrons and holes are generated by heat at a rate that doesn't depend on doping and recombine at a rate proportional to n times p; in equilibrium the two rates balance, which fixes the product. Doping changes which carrier is plentiful, never the product.
:::
:::

::: practice

::: check
given: N = 1e15 | 3e15 | 5e15 | 2e16 | 7e16 | 1e17 | 4e17
answer: 1e20/N
unit: cm^-3
tolerance: 1%

## Minority holes in silicon with $N_d$ = {N} cm⁻³?

::: misses
- [any] $n_i^2/N_d$.
:::
:::

::: check
given: N = 8e14 | 4e15 | 2e16 | 1e17 | 6e17 | 2e18
answer: 0.02585*ln(N/1e10)
unit: eV
tolerance: 1%

## $E_F - E_i$ for n = {N} cm⁻³ in silicon?

::: misses
- [any] $kT\ln(n/n_i)$.
:::
:::

::: check
given: d = 4e16 | 9e16; a = 2e16 | 3e16
answer: 1e20/(d - a)
unit: cm^-3
tolerance: 1%

## Holes in silicon with $N_d$ = {d}, $N_a$ = {a}?

::: misses
- [any] $n_i^2/(N_d - N_a)$.
:::
:::
:::
