Random-access MAC protocol family — no central coordination, collision-driven retransmission. Developed at the University of Hawaii, 1970. Foundation of all modern CSMA-based protocols.
A contention-based MAC protocol where stations transmit without central coordination, handling collisions via random back-off retransmission.
Designed by Norman Abramson at the University of Hawaii for satellite and packet-radio networks across the islands. Stations transmit frames whenever data is ready — no prior scheduling, no carrier sensing.
ALOHAnetStations transmit at any instant. On collision, each sender waits a random back-off delay and retransmits. Max theoretical throughput: 18.4% at G = 0.5.
S = G · e−2GProposed by Roberts (1972). Time divided into equal slots. Stations begin only at slot boundaries — halves collision window, doubles throughput to 36.8%.
S = G · e−G| Parameter | Pure ALOHA | Slotted ALOHA |
|---|---|---|
| Time Reference | Continuous | Discrete slots |
| Transmission Rule | Any instant | Slot boundary only |
| Vulnerable Period | 2 × Tp | 1 × Tp |
| Throughput Formula | S = G · e−2G | S = G · e−G |
| Max Throughput S | ≈ 18.4% | ≈ 36.8% |
| Optimal Load G* | 0.5 | 1.0 |
| Clock Sync Required | No | Yes |
| Collision Window | 2 frame durations | 1 frame duration |
| P(Success) optimum p | p = 1/(2k) | p = 1/k |
| P(Empty slot/period) | e−2G | e−G |
A station generates a frame and immediately transmits it onto the shared channel — no carrier sense, no idle check, no wait.
If the receiver ACKs within a timeout TACK, the transmission succeeded. No ACK → collision assumed. Both frames are destroyed.
Each colliding station waits a uniformly random Tback drawn from [0, 2k−1] frame durations, where k is the retry count (binary exponential back-off).
After back-off, the station retransmits the frame. This repeats until ACK received or max retry limit M reached.
All stations are synchronised to a global clock that divides time into equal slots of exactly Tp duration (one frame transmission time).
If a frame arrives mid-slot, the station buffers it and waits for the next slot boundary. No transmission starts in the middle of a slot.
Two frames either start in the same slot (full collision) or in different slots (no collision). The vulnerable period is halved from 2Tp to Tp.
On collision, each station independently picks a random future slot number to retransmit. This reduces the probability of repeated collisions between the same stations.
Theoretical throughput vs. offered load. Slotted ALOHA peaks at exactly double the Pure ALOHA maximum.
| G (Offered Load) | Pure S = G·e−2G | Pure S (%) | Slotted S = G·e−G | Slotted S (%) | Ratio Slotted/Pure |
|---|
Channel must be loaded at 50% to achieve maximum utilisation. Collision probability rises quadratically beyond G = 0.5 due to the 2Tp vulnerable period.
Full channel load (G=1) yields maximum throughput. Synchronised slots eliminate partial collisions — two frames either coincide fully or not at all.
Beyond the peak G, throughput decreases sharply. Heavy retransmissions increase G further — a positive feedback loop that can collapse the channel.
Discrete-event simulation of the ALOHA channel. Each slot is independently simulated with a Bernoulli arrival model.
Eight fully-worked numerical problems covering throughput, probability, load comparison, inverse problems, and channel analysis.
S = G · e^(−2G)dS/dG = e^(−2G) − 2G·e^(−2G) = e^(−2G)(1 − 2G) = 01 − 2G = 0 → G* = 0.5S = 0.5 × e^(−1) = 0.5 × 0.3679 = 0.1839S_max = 1/(2e) ≈ 0.184 → 18.4%S = G · e^(−G) = 1.0 × e^(−1) = 0.3679P(0) = e^(−G) = e^(−1) = 0.3679P(1) = G·e^(−G) = 1×e^(−1) = 0.3679P(c) = 1 − 0.3679 − 0.3679 = 0.26420.3679 + 0.3679 + 0.2642 = 1.0 ✓S = 0.25 × e^(−0.5) = 0.25 × 0.6065 = 0.1516 (15.16%)S = 0.25 × e^(−0.25) = 0.25 × 0.7788 = 0.1947 (19.47%)S = 0.5 × e^(−1) = 0.1839 (18.39%) ← Peak PureS = 0.5 × e^(−0.5) = 0.5 × 0.6065 = 0.3033 (30.33%)S = 1.0 × e^(−2) = 0.1353 (13.53%)S = 1.0 × e^(−1) = 0.3679 (36.79%) ← Peak SlottedS = 2.0 × e^(−4) = 0.0366 (3.66%)S = 2.0 × e^(−2) = 0.2707 (27.07%)P_s = C(k,1) · p · (1−p)^(k−1) = k·p·(1−p)^(k−1)(1 − 0.2)^4 = (0.8)^4 = 0.4096p · (1−p)^4 = 0.2 × 0.4096 = 0.08192P_s = 5 × 0.08192 = 0.4096(1 − 1/5)^4 = (0.8)^4 = 0.40960.10 = G · e^(−2G) — transcendental, two solutions exist.0.13 × e^(−0.26) = 0.13 × 0.7710 ≈ 0.100 ✓1.26 × e^(−2.52) = 1.26 × 0.0806 ≈ 0.102 ≈ 0.10 ✓T_p = 1000 / 200,000 = 5 msR = 1 / T_p = 1 / 0.005 = 200 frames/secS = 0.5 × e^(−1) = 0.1839S × R = 0.1839 × 200 = 36.79 frames/sec36.79 × 1000 = 36,788 bps ≈ 36.79 kbpsG = k × p = 10 × 0.1 = 1.0S = G × e^(−G) = 1.0 × e^(−1) = 0.3679P_s = k·p·(1−p)^(k−1) = 10 × 0.1 × (0.9)^9(0.9)^9 = 0.387410 × 0.1 × 0.3874 = 0.3874(1−p)^k = (0.9)^10 = 0.34871 − 0.3874 − 0.3487 = 0.2639S = G·e^(−G) ≥ 0.30G·e^(−G) ≥ 0.30 holds for approximately 0.475 ≤ G ≤ 1.79k_min = G/p = 0.475/0.05 = 9.5 → k = 10G = 10×0.05 = 0.5, S = 0.5×e^(−0.5) = 0.3033 ≥ 0.30 ✓G = 9×0.05 = 0.45, S = 0.45×e^(−0.45) = 0.2869 < 0.30 ✗Advantages, disadvantages, and real-world use cases for Pure vs. Slotted ALOHA.
| Event | Pure ALOHA (G=0.5, peak) | Slotted ALOHA (G=1.0, peak) |
|---|---|---|
| P(success) | ||
| P(empty) | ||
| P(collision) |
Andrew S. Tanenbaum & David Wetherall, 5th Ed. Chapter 4.2.1 — The ALOHA Protocol.
→ Publisher PageVideo series covering Pure ALOHA, Slotted ALOHA, throughput derivation, and solved numericals.
→ Watch on YouTubeWebsite containing definitions, types, formulae and applications.
→ Read ArticleALOHA is a random-access Media Access Control (MAC) protocol family developed by Norman Abramson at the University of Hawaii in 1970 for the ALOHAnet satellite network. It allows multiple stations to share a single communication channel without central coordination.
ALOHA is the conceptual ancestor of all modern CSMA protocols (CSMA/CD used in Ethernet, CSMA/CA used in Wi-Fi). Understanding ALOHA gives you the mathematical foundation to reason about collision probability, channel efficiency, and back-off strategies in any shared medium.
Pure ALOHA — transmit anytime. Slotted ALOHA — transmit only at slot boundaries. Slotted halves the collision window and doubles the peak throughput.
A station transmits a frame the moment it has data. It then waits for an ACK. If no ACK arrives within a timeout, a collision is assumed. Each colliding station waits a random back-off period before retransmitting.
A frame transmitted at time t can collide with any frame that starts between t − Tp and t + Tp, giving a vulnerable period of 2Tp (two full frame durations).
Because any two frames whose transmission times overlap at all will collide. The asynchronous nature means collisions can be partial (only part of the frames overlap), but the entire frames are still destroyed.
Time is divided into equal slots of duration Tp (one frame transmission time). All stations are synchronised to a global clock. A station can only begin transmitting at a slot boundary — if data arrives mid-slot, it waits.
Because all transmissions start at the same slot boundaries, two frames either start in the same slot (full collision) or in different slots (no collision at all). The vulnerable period drops to Tp — half that of Pure ALOHA.
Slotted ALOHA requires precise clock synchronisation across all stations — an infrastructure cost. In exchange, you get exactly double the throughput ceiling.
Built for — Computer Networks Lab as an interactive educational tool.