---
title: The Fermi level, doping and temperature
heading: Where the Fermi level sits, and when doping stops working
eyebrow: B9 · Lesson 15 · The Fermi level and doping
xp: 40
---

::: hook
Doping (lesson 14) sets how many electrons or holes a semiconductor has, and the Fermi level (lesson 12) is the single number that sums that up: it moves up toward the conduction band as donors are added and down toward the valence band with acceptors. Band diagrams of diodes and transistors are drawn around it. It also shows the limits of doping. Heat silicon enough and its own intrinsic carriers swamp the dopants; dope it too heavily and it starts to behave like a metal.
:::

::: play
- The Fermi level relative to the intrinsic level $E_i$, against doping, for n-type (solid) and p-type (dashed) silicon. The two outer dashed lines are the band edges.
- Every factor of 10 in doping moves the Fermi level by $kT\ln 10$, about 60 mV at room temperature.
- Heat it up. At high temperature the intrinsic density $n_i$ grows past light doping, and the Fermi level falls back toward midgap: the silicon is intrinsic again.
:::
:::

```sim plot
view: graph
x: x = 10..19
y: E = -0.65..0.65 eV
slider: T = 250..700 step 10 = 300 K
slider: x0 = 10..19 step 0.1 = 16
plot: 8.617e-5*T*ln((10^x/2 + sqrt(10^(2*x)/4 + (2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))^2))/(2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))) | label: n-type | samples: 400
plot: -8.617e-5*T*ln((10^x/2 + sqrt(10^(2*x)/4 + (2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))^2))/(2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))) | label: p-type | dashed | color: ch2 | samples: 400
plot: 0.567 + 0*x | label: conduction band edge | dashed | color: ch3
plot: -0.553 + 0*x | label: valence band edge | dashed | color: ch3
marker: x = x0 | label: doping (log₁₀ per cm³)
readout: intrinsic density, per cm³ = 2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)) | digits: 3
readout: n-type Fermi level above Ei, meV = 1000*8.617e-5*T*ln((10^x0/2 + sqrt(10^(2*x0)/4 + (2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))^2))/(2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T)))) | digits: 3
```

::: predict
## Silicon doped with $10^{15}$ donors per cm³ is heated. Roughly where does it stop being n-type and become effectively intrinsic?

- [ ] Around 50 °C
- [x] Around 300 °C
- [ ] Around 1000 °C
- [ ] Never: the donors are always there

::: reveal
Around 300 °C. $n_i$ grows roughly as $e^{-E_g/2kT}$, from $10^{10}$ at room temperature to about $10^{15}$ near 590 K in this model (somewhat lower in reality, since the gap shrinks a little when hot). Beyond that, heat makes more carriers than the dopants do. That's why silicon chips are rated to about 150 °C and why wide-gap silicon carbide is used for hotter jobs.
:::
:::

::: nameit
## Fermi level and carrier density

From lesson 12, measured from the intrinsic level $E_i$:

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

So for donor doping $N_d \gg n_i$, with every donor ionized, $E_F - E_i = kT\ln\frac{N_d}{n_i}$, or measured from the band edge, $E_c - E_F = kT\ln\frac{N_c}{N_d}$. Acceptors move it below $E_i$ by $kT\ln\frac{N_a}{n_i}$.

## Both kinds, and light doping

Charge neutrality says $p + N_d = n + N_a$. Combined with $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 donors and acceptors are both present, they **compensate**: the net doping $N_d - N_a$ is what counts. When the net doping is comparable to $n_i$, both carriers matter and this full formula is needed.

## Temperature limits

- **Intrinsic at high temperature:** $n_i = \sqrt{N_cN_v}\,e^{-E_g/2kT}$ with $N_cN_v \propto T^3$ climbs steeply. When $n_i$ approaches the doping, the material loses its type and devices stop working.
- **Freeze-out at low temperature:** below about 100 K for silicon, donors recapture their electrons (they're bound by about 45 meV), and the carrier density falls.

## Heavy doping

Above about $N_ce^{-3} \approx 1.6 \times 10^{18}$ cm⁻³ in silicon, the Fermi level comes within $3kT$ of the band edge, the Boltzmann approximation fails, and at still higher doping the Fermi level enters the band: the silicon is **degenerate**, conducting like a poor metal. Contacts and transistor source and drain regions are doped this heavily on purpose.
:::

::: example
## Where is the Fermi level in silicon with $10^{16}$ donors per cm³ at 300 K?

::: solution
1. **From the intrinsic level.**
   $$\begin{aligned} E_F - E_i &= 0.02585\ln\frac{10^{16}}{10^{10}} \\ &= 0.357\ \text{eV} \end{aligned}$$
2. **From the conduction band.**
   $$\begin{aligned} E_c - E_F &= 0.02585\ln\frac{3.2 \times 10^{19}}{10^{16}} \\ &= 0.209\ \text{eV} \end{aligned}$$
3. **Check.** The two agree, since $E_c$ is 0.567 eV above $E_i$.

**Answer:** the Fermi level is 0.357 eV above $E_i$, which is 0.209 eV below the conduction band edge.
:::
:::

::: example
## Silicon has $3 \times 10^{16}$ donors and $10^{16}$ acceptors per cm³. What are $n$ and $p$?

::: solution
1. **Electrons.** The net doping is $2 \times 10^{16}$, far above $n_i$, so
   $$n = 2 \times 10^{16}\ \text{cm}^{-3}$$
2. **Holes.**
   $$\begin{aligned} p &= \frac{10^{20}}{2 \times 10^{16}} \\ &= 5 \times 10^3\ \text{cm}^{-3} \end{aligned}$$
3. **Where the electrons went.** The acceptors have soaked up a third of the donors' electrons.

**Answer:** $n = 2 \times 10^{16}$ cm⁻³ and $p = 5 \times 10^3$ cm⁻³.
:::
:::

::: example
## Where is the Fermi level in silicon doped with 10¹⁷ donors per cm³, and with 10¹⁵ ($N_c$ = 3.2 × 10¹⁹ cm⁻³, 300 K)?

::: solution
1. **The formula.**
   $$E_c - E_F = kT\ln\frac{N_c}{n}$$
2. **The heavier doping.** With $n = 10^{17}$,
   $$\begin{aligned} E_c - E_F &= 0.02585 \times \ln 320 \\ &= 0.149\ \text{eV} \end{aligned}$$
3. **The lighter doping.** With $10^{15}$,
   $$\begin{aligned} E_c - E_F &= 0.02585 \times \ln 32\,000 \\ &= 0.268\ \text{eV} \end{aligned}$$
4. **Per factor of ten.** Each factor of ten in doping moves the Fermi level by $kT\ln 10 = 60$ meV.
5. **Heavy doping.** Heavy doping pushes it close to the band edge, where the Boltzmann approximation behind this formula begins to fail, at around $10^{18}$ cm⁻³ and above.

**Answer:** 0.149 eV below the conduction band with $10^{17}$ donors, and 0.268 eV below it with $10^{15}$.
:::
:::

::: check
given: N = 1e14 | 1e16 | 1e18
answer: 1000*0.02585*ln(N/1e10)
unit: meV
tolerance: 0.5%

## Silicon at 300 K ($n_i$ = $10^{10}$ cm⁻³) has {N} donors per cm³. How far above the intrinsic level is the Fermi level?

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

::: misses
- [1000*0.02585*log(N/1e10)] Use the natural logarithm.
- [any] Not yet. $E_F - E_i = kT\ln(n/n_i)$.
:::
:::

::: check
given: N = 1e14 | 1e15 | 3e15 | 1e16 | 1e17 | 1e18
answer: 1000*0.02585*ln(1.8e19/N)
unit: meV
tolerance: 0.5%

## Silicon at 300 K has {N} acceptors per cm³. How far above the valence band edge is the Fermi level? ($N_v$ = $1.8 \times 10^{19}$ cm⁻³.)

::: right
Right. $kT\ln\frac{N_v}{N_a}$ = {answer}.
:::

::: misses
- [1000*0.02585*ln(3.2e19/N)] For holes, use the valence band's $N_v$.
- [any] Not yet. Solve $p = N_ve^{-(E_F - E_v)/kT}$.
:::
:::

::: check
given: Nd = 5e16 | 2e17; Na = 1e16 | 3e16
answer: 1e20/(Nd - Na)
unit: cm^-3
tolerance: 0.5%

## Silicon at 300 K has {Nd} donors and {Na} acceptors per cm³. What is the hole density?

::: right
Right. $n = N_d - N_a$, so $p = \frac{n_i^2}{N_d - N_a}$ = {answer}.
:::

::: misses
- [1e20/Nd] The acceptors compensate some donors: use the net doping.
- [any] Not yet. Find $n$ from the net doping, then $p = n_i^2/n$.
:::
:::

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

## Silicon at 300 K is very lightly doped, with {N} donors per cm³. How many electrons per cm³ are there?

::: right
Right. With doping close to $n_i$, use the full formula: {answer}.
:::

::: misses
- [N] The intrinsic carriers matter at this doping.
- [N + 1e10] Not quite: $n$ and $p$ must also satisfy $np = n_i^2$.
- [any] Not yet. $n = \frac{N}{2} + \sqrt{\frac{N^2}{4} + n_i^2}$.
:::
:::

::: check
given: T = 400 | 500 | 600
answer: 2.4e19*(T/300)^1.5*exp(-1.12/(2*8.617e-5*T))
unit: cm^-3
tolerance: 1%

## Using $n_i = 2.4 \times 10^{19}(T/300)^{3/2}e^{-E_g/2kT}$ cm⁻³ with $E_g$ = 1.12 eV, what is silicon's intrinsic density at {T} K?

::: right
Right. {answer}.
:::

::: misses
- [2.4e19*exp(-1.12/(2*8.617e-5*T))] Include the $(T/300)^{3/2}$ factor.
- [any] Not yet. Find $kT$ at that temperature first.
:::
:::

::: check
given: x = 2 | 3 | 4
answer: 3.2e19*exp(-x)
unit: cm^-3
tolerance: 0.5%

## At what donor density does silicon's Fermi level come within {x}$kT$ of the conduction band edge, at 300 K?

::: right
Right. $N_ce^{-x}$ = {answer}.
:::

::: misses
- [any] Not yet. Set $E_c - E_F = xkT$ in $n = N_ce^{-(E_c - E_F)/kT}$.
:::
:::

::: check
kind: parts
given: N = 1 | 10 | 100; T = 300 | 350

## Silicon is doped with {N} × 10¹⁵ donors per cm³ ($N_c$ = 3.2 × 10¹⁹ cm⁻³), at {T} K. (Ignore $N_c$'s change with temperature.)

::: part
answer: 8.617e-5*T*ln(3.2e19/(N*1e15))
unit: eV
tolerance: 0.5%

### How far below the conduction band is the Fermi level?

::: misses
- [8.617e-5*T*log(3.2e19/(N*1e15))] Use the natural log.
- [any] $E_c - E_F = kT\ln\frac{N_c}{n}$.
:::
:::

::: part
answer: 8.617e-5*T*ln(10)*1000
unit: meV
tolerance: 0.5%

### How far does it move for each factor of ten in doping?

::: misses
- [any] $kT\ln 10$.
:::
:::
:::

::: check
kind: derivation
vars: N = 1000000000000000..1000000000000000000, T = 200..500

## Donor doping N per cm³ in silicon ($N_c$ = 3.2 × 10¹⁹ cm⁻³).

::: step
answer: 8.617e-5*T*ln(3.2e19/N)

### How far below the conduction band is the Fermi level, in eV?
:::

::: step
answer: 3.2e19*exp(-8.617e-5*T*ln(3.2e19/N)/(8.617e-5*T))

### Check it: what electron density does that Fermi level give?
:::

::: right
Right. Putting the Fermi level back into $N_ce^{-(E_c - E_F)/kT}$ returns the doping.
:::
:::

::: explain
## Why does a silicon chip stop working properly when it gets very hot?

::: model
A transistor relies on regions that are clearly n-type or p-type, with carrier densities set by the doping. Heat also lifts electrons across the band gap, creating electron-hole pairs, and their number grows exponentially with temperature. At a few hundred degrees Celsius the heat-made carriers in lightly doped regions outnumber the dopants' carriers. Those regions lose their type, junctions leak heavily, and the transistor can no longer be switched off. A wider band gap pushes that point much higher, which is why silicon carbide and gallium nitride are used in hot, high-power places.
:::
:::

::: practice

::: check
given: k = 10 | 100 | 1000
answer: 1000*0.02585*ln(k)
unit: meV
tolerance: 0.5%

## The doping is raised by a factor of {k}. How far does the Fermi level move at 300 K?

::: misses
- [any] $kT\ln k$.
:::
:::

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

## How many holes per cm³ does silicon with {Nd} donors per cm³ have at 300 K?

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

::: check
given: Nd = 2e16 | 8e16; Na = 5e15 | 1e16
answer: Nd - Na
unit: cm^-3
tolerance: 0.5%

## Silicon has {Nd} donors and {Na} acceptors per cm³. How many free electrons per cm³?

::: misses
- [any] The net doping.
:::
:::
:::
