Try it yourself · Class 12 Physics · p-n Junction Diode

p-n junction: change the bias and watch the depletion region and current

At a p-n junction, holes diffuse from p to n and electrons from n to p, leaving fixed ions that make a depletion region and a potential barrier. The simulation draws the junction, the moving carriers and the current-voltage curve, so you can see how forward and reverse bias change the barrier.

A p-n junction with its depletion region. Move the voltage to forward or reverse bias: the barrier is volt, the region narrows or widens, and the current follows the diode curve (an illustrative silicon diode).

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Applied voltage V: from -5 V (reverse) to +0.8 V (forward) in steps of 0.1 V (start 0 V).
  • Light doping or heavy doping: heavy doping gives a thinner depletion region (start light).
  • Read the readout: barrier height, depletion width and current all follow the voltage.

What to watch

  • V = 0, light doping: barrier 0.70 V, depletion width 0.50 µm, no net current.
  • V = -4 V: barrier 4.70 V, width 1.30 µm, only about 0.1 nA flows, however large the reverse voltage.
  • V = +0.6 V: barrier 0.10 V, width 0.19 µm, current 0.525 mA; at +0.7 V it is 6.92 mA and at +0.8 V it is 91.3 mA, so the current rises very steeply.
  • Switch to heavy doping at V = 0: the width falls from 0.50 µm to 0.20 µm.

The formula

is the applied voltage in volt (forward positive), is the built-in barrier of silicon, is the depletion width. Widths and the current scale are illustrative, not measured.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE 2020

    How does an increase in doping concentration affect the width of depletion layer of a p-n junction diode ?
    Show the answer
    The width of the depletion layer decreases.
  2. CBSE 2025

    When a p-n junction diode is forward biased
    1. the barrier height and the depletion layer width both increase.
    2. the barrier height increases and the depletion layer width decreases.
    3. the barrier height and the depletion layer width both decrease.
    4. the barrier height decreases and the depletion layer width increases.
    Show the answer
    (C) the barrier height and the depletion layer width both decrease.
  3. CBSE 2023

    If a p-n junction diode is reverse biased,
    1. the potential barrier is lowered.
    2. the potential barrier remains unaffected.
    3. the potential barrier is raised.
    4. the current is mainly due to majority carriers.
    Show the answer
    (C) the potential barrier is raised.

More to try in p-n Junction Diode

Every simulation in the Lab