The grid
4G, 5G and Wi-Fi all use OFDM: many subcarriers sent side by side. So the base station sees its channel as a grid. Each column is one OFDM symbol in time; each row is one subcarrier. One square is a resource element.
In 5G NR, 12 subcarriers in a row make a resource block, and 14 OFDM symbols make a slot. One block for one slot is 12 × 14 = 168 resource elements. This grid is two blocks tall: 336 squares.
Numerology
5G picks a subcarrier spacing Δf = 15·2^μ kHz, and a symbol lasts 1/Δf. Here μ = 1: 30 kHz, so a symbol lasts 33.33 µs and a 14-symbol slot 0.5 ms. LTE always uses 15 kHz, like μ = 0.
Each symbol gets a cyclic prefix, scaled the same way: 4.69 µs at 15 kHz, 2.34 µs at 30 kHz. Light travels 703 m in 2.34 µs, so echoes up to 703 m longer than the direct path stay inside the guard.
Filling the grid
Every slot (here every 0.5 ms) the scheduler decides who gets which blocks. This slot, block 0 goes to your phone and block 1 to another phone. In the next slot it can decide again, so many users share one channel.
Some squares carry symbols your phone already knows: reference signals (DMRS). Here the third symbol of the slot holds them, 12 per block. Comparing what arrives with what it expected tells the phone the channel H on each subcarrier.
Your phone reports how clean its signal is. A clean signal gets 64-QAM: 6 bits per square. The 72 bits of "Hello, 5G" fill one column of your block. In a slot your 156 data squares carry 156 × 6 = 936 bits.
Before mapping, 5G protects data with an LDPC code; 4G LTE used turbo codes. At code rate 1/2 in this example, half of the 936 bits are check bits. That leaves 468 bits of your data per block per slot.
Over the air
Each column goes through an inverse FFT, gets its cyclic prefix and leaves the antenna as one OFDM symbol. 14 symbols leave in 0.5 ms. The column also carries the other phone's block, on different subcarriers.
An echo 300 m longer turns and scales each subcarrier: Y = H·X. Your phone measured H on the reference squares, so it divides, X̂ = Y/H. Every point lands back on 64-QAM, and LDPC decoding returns your bits.
Speed and Wi-Fi
A 100 MHz carrier at 30 kHz holds 273 blocks. 273 × 468 bits every 0.5 ms is 255.5 Mbit/s. Four antennas send four streams at once (MIMO layers): about 1022 Mbit/s.
Wi-Fi 6 builds the same grid with 78.125 kHz spacing: 12.8 µs symbols plus a 0.8, 1.6 or 3.2 µs guard, 256 subcarriers in 20 MHz. Its access point hands out resource units of 26 tones or more, like 5G's blocks.
The working
# step 1/12 · grid
OFDM (see the OFDM lesson):
N subcarriers, Δf apart, sent at once
one inverse FFT builds each OFDM symbol
the resource grid
across = time, one OFDM symbol per column
down = frequency, one subcarrier per row
square = resource element (RE):
one subcarrier for one symbol,
carries one QAM symbol
the cursor shows the symbols leaving in turn
The slot, the two blocks, the DMRS position, the code rate 1/2 and the echo are chosen examples; spacings, prefix lengths, the 12-subcarrier block, 14-symbol slot, 64-QAM mapping and 273 blocks in 100 MHz are from the 3GPP specifications. Every number and curve in the figure is computed from this model. The motion is slowed down enormously: a whole slot lasts 0.5 ms.