TechWindo

Sharing insights on technology and innovation

Populer Post
  • NR Resource Grid Visualizer
  • IP_Subnet_Calculator
  • 5G NR RA‑RNTI calculator
  • NR DCI Decoder (5G NR)
  • 5G-NR: RRC_ASN_Decoder Release=16
  • Timing Advance distance calculator
  • 5G NR TBS (Transport Block Size) Calculator
  • 5G NR PCI Calculator
  • 5G NR Link Budget Calculator
  • 5G NR SSB/GSCN Calculator
  • 5G NR Throughput Calculator
  • gNB-ID ↔ NCI Calculator
  • NR ARFCN ↔ Frequency Converter
  • Number System Calculator
  • Age-Calculator:

NR Resource Grid Visualizer

NR Resource Grid Visualizer

Visualize a single NR slot resource grid. Paint channels, pick numerology (μ), choose slot index, and drag to highlight Resource Elements (REs).

Tip: Choose a channel from the palette and **drag across the grid** to paint REs. Use **Eraser** to clear.

February 19, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

IP_Subnet_Calculator

IPv4 & IPv6 Subnet Calculator

Enter an IP address and prefix length (or netmask) to compute network details. Tabs let you switch between IPv4 and IPv6.

1) Input (IPv4)

2) Results (IPv4)

Address
CIDR
Netmask
Wildcard mask
Network
Broadcast
First host
Last host
Usable hosts
Class
Scope
Binary
Hex
Reverse DNS

1) Input (IPv6)

2) Results (IPv6)

Address (compressed)
Address (full)
CIDR
Prefix length
Netmask (128-bit)
Network
First address
Last address
Total addresses
Type / Scope
Reverse DNS

February 19, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR RA‑RNTI calculator

5G NR RA‑RNTI Calculator

RA‑RNTI = 1 + t_id + 14 × f_id + 14 × 80 × ul_carrier_id

Inputs

Result

RA‑RNTI (decimal)
RA‑RNTI (hex, 0x…)
How it’s calculated

Per 5G NR spec, RA‑RNTI is derived from PRACH occasion indices: t_id (time), f_id (frequency), and uplink carrier index. Formula: 1 + t_id + 14×f_id + 14×80×ul_carrier_id.


RA‑RNTI (Random Access RNTI) — Short Description

RA‑RNTI is a temporary identifier used in 5G NR during the Random Access Procedure.
It uniquely represents a UE’s PRACH transmission occasion (defined by time index t_id and frequency index f_id), allowing the gNB to identify which UE sent the RA preamble.

Once calculated using the PRACH occasion, the gNB uses this RA‑RNTI to send the Random Access Response (RAR) to the correct UE.

 

February 16, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

NR DCI Decoder (5G NR)

5G NR DCI Decoder

Configuration

Payload Bits (after CRC & Polar)

Tip: This tool parses the DCI bit payload using dynamic field sizes derived from 3GPP formulas (RBG sizes, RIV, etc.). It does not perform CRC/Polar decoding.

February 15, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G-NR: RRC_ASN_Decoder Release=16

5G NR RRC Decoder (Rel-16)

ASN.1 PER (unaligned) • 3GPP TS 38.331
OR

          

February 10, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

Timing Advance distance calculator

Timing Advance ↔ Distance Calculator

GSM/LTE: TA steps directly. NR Absolute: TA ∈ [0..3846]. NR ΔTA: TA ∈ [0..63] (uses TA−31).
3GPP basis (click to expand)
  • GSM: 1 TA step ≈ 3.69 μs ⇒ ≈ 550 m per step.
  • LTE: 1 TA step = 16·Ts, Ts=1/30.72 MHz ⇒ ≈ 0.520833 μs ⇒ ≈ 78.125 m per step.
  • NR: Tc = 1/(480 kHz·4096); NTA = TA·16·64/2^μ (Abs); ΔNTA = (TA−31)·16·64/2^μ (Adj). NTA,offset is a configuration constant (not propagation distance).

 

February 4, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR TBS (Transport Block Size) Calculator

5G NR TBS (Transport Block Size) Calculator

1) MCS / Layers

2) Resource Allocation

3) Options

N’RE = 12·Nsymb,sh − NDMRS,PRB − Noh,PRB; NRE/PRB = min(156, N’RE)
Notes (3GPP alignment)
  • MCS tables and Qm/R come from TS 38.214 §5.1.3.1 Tables 5.1.3.1‑1/‑2/‑3. [2](https://www.sharetechnote.com/html/5G/5G_MCS_TBS_CodeRate.html)
  • N’RE and 156‑RE cap per PRB follow the examples used in TS 38.214 sources (RE accounting within a PRB). [3](https://www.sqimway.com/nr_pdsch.php)
  • TBS uses the §5.1.3.2 two‑branch method with small‑block threshold 3824 bits. The default “Round‑to‑6‑bit” option mirrors common reference tools; request “spec‑table” if you need the exact discrete set. [4](https://www.rfwireless-world.com/calculators/5g-nr-tbs-calculation)[5](https://5g-tools.com/5g-nr-tbs-transport-block-size-calculator/)

 

Background (you can paste near the widget)

  • Qm/R selection: Choose the MCS table and index; Qm and target code rate R come from TS 38.214 §5.1.3.1 (Tables 1–3).
  • RE accounting: For an allocation of Nsymb,sh symbols, the usable RE/PRB is N’RE = 12·Nsymb,sh − NDMRS − Noh, capped to 156 RE/PRB.
  • TBS determination: Form Ninfo = NRE × R × Qm × ν × tbScaling, then apply the ≤ 3824 / > 3824 procedures in TS 38.214 §5.1.3.2. (This calculator uses the common 6‑bit quantization for small TBS; on request, I can switch to a spec‑exact discrete set.)

 

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR PCI Calculator

5G NR PCI (Physical Cell ID) Calculator

Notes (3GPP‑aligned)
  • PCI range is 0–1007 (1008 identities), structured as 336 groups × 3 identities per group (NID(1), NID(2)). [1](https://www.etsi.org/deliver/etsi_ts/138200_138299/138211/18.07.00_60/ts_138211v180700p.pdf)[2](https://www.rfwireless-world.com/calculators/5g-nr-physical-layer-cell-id-calculator)
  • Mapping: PCI = 3×NID(1) + NID(2), with NID(1)∈[0,335] from SSS and NID(2)∈{0,1,2} from PSS. [1](https://www.etsi.org/deliver/etsi_ts/138200_138299/138211/18.07.00_60/ts_138211v180700p.pdf)[3](https://www.telecomtrainer.com/5g-nr-physical-cell-id-pci-explained-pss-sss-and-synchronization/)
  • Cell search derives PSS/SSS (hence PCI) inside the SSB burst as per 38.211 procedures. [1](https://www.etsi.org/deliver/etsi_ts/138200_138299/138211/18.07.00_60/ts_138211v180700p.pdf)

Note:

1- What is PCI? A physical‑layer cell identity used by UE during cell search and synchronization; it’s derived from PSS/SSS in the SSB burst.

2- Ranges and formula: NID(1)N_{\text{ID}}^{(1)} from SSS ∈ [0,335], NID(2)N_{\text{ID}}^{(2)} from PSS ∈ {0,1,2}, and PCI ∈ [0,1007], with PCI=3NID(1)+NID(2)\text{PCI} = 3N_{\text{ID}}^{(1)} + N_{\text{ID}}^{(2)}.

 

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR Link Budget Calculator

5G NR Link‑Budget Calculator

System

Transmitter

Receiver

Additional Losses / Margins

Notes (standards & equations)
  • FSPL uses ITU‑R P.525 free‑space attenuation (far field). [1](https://www.itu.int/rec/R-REC-P.525/en)
  • Thermal noise uses kTB (−174 dBm/Hz @ 290 K) with temperature scaling. [2](https://www.wirelessbrew.com/tools/thermal-noise/)[3](https://www.onesdr.com/calculate-ktb-noise-power/)
  • Receiver sensitivity = noise floor + required SNR. Reference sensitivity is a 3GPP KPI (TS 38.101‑1); exact targets depend on test channel/MCS, hence SNRreq is user input. [4](https://www.etsi.org/deliver/etsi_ts/138100_138199/13810101/17.18.00_60/ts_13810101v171800p.pdf)

Fixed Conditions

Tx/Rx & Losses

Target

 

What is 5G NR Link‑Budget?

A Link‑Budget in 5G NR is a complete, end‑to‑end accounting of all gains and losses a radio signal experiences as it travels from the transmitter (gNB/UE) to the receiver (UE/gNB).

It answers two core engineering questions:

  1. Will the received signal be strong enough to meet the required SNR for decoding?
  2. What is the maximum coverage distance for a given transmit power, frequency, bandwidth, and environment?

Link‑budget is essential for:

  • Cell planning & coverage prediction
  • Network optimization
  • gNB/UE sensitivity assessment
  • Propagation model comparison
  • Determining downlink vs uplink imbalance

Why Link‑Budget Matters in 5G NR

5G uses higher frequencies (FR1 up to 7.125 GHz, FR2 up to 52.6 GHz), massive MIMO antennas, beamforming, and wide bandwidths — all of which impact signal strength.

Higher frequencies → higher free‑space path loss
Wider bandwidth → higher thermal noise
Beamforming → higher antenna gain
NR numerology & MIMO → different SNR and performance targets

This makes link‑budget more important in NR compared to LTE.

Core Components of a 5G NR Link‑Budget

A link‑budget is normally expressed as:

Prx=Ptx+Gtx−Ltx−PL+Grx−LrxP_{\text{rx}} = P_{\text{tx}} + G_{\text{tx}} – L_{\text{tx}} – PL + G_{\text{rx}} – L_{\text{rx}}

Where:

  • Ptx → Transmit power (dBm)
  • Gtx / Grx → Antenna gains (dBi)
  • Ltx / Lrx → Feeder, cable, and connector losses (dB)
  • PL → Path loss (free‑space + environmental losses)

1. Path Loss (PL)

For a first‑order link‑budget, free‑space path loss (FSPL) from ITU‑R P.525 is used.
FSPL formula (GHz, km form):

FSPL=92.45+20log⁡10(fGHz)+20log⁡10(dkm)FSPL = 92.45 + 20\log_{10}(f_{\text{GHz}}) + 20\log_{10}(d_{\text{km}})

This is directly from the ITU free-space attenuation model.

Engineers then add more losses:

  • Penetration loss (indoor, vehicles)
  • Body loss
  • Shadowing
  • Clutter / foliage loss
  • Rain attenuation (especially mmWave)

2. Noise Floor (kTB)

Every receiver has thermal noise based on Boltzmann’s constant (k), temperature (T), and bandwidth (B):

N=−174 dBm/Hz+10log⁡10(BHz)+10log⁡10(T290K)N = -174\text{ dBm/Hz} + 10\log_{10}(B_{\text{Hz}}) + 10\log_{10}\left(\frac{T}{290K}\right)

The −174 dBm/Hz value at 290 K is a standard industry reference.

Noise floor increases with bandwidth — which is very important for 5G NR because NR supports up to 400 MHz in FR2.

3. Receiver Noise Figure (NF)

Noise Figure quantifies how much noise the receiver adds on top of thermal noise.

Ntotal=N+NFN_{\text{total}} = N + NF

Lower NF → more sensitive receiver.

4. Required SNR (SNR_req)

To decode NR channels (PBCH, PDCCH, PDSCH), the UE or gNB needs a minimum SNR that depends on:

  • Modulation order (QPSK/16QAM/64QAM/256QAM)
  • Coding rate
  • MIMO layers
  • Channel conditions

Receiver sensitivity is computed as:

Psens=Ntotal+SNRreqP_{\text{sens}} = N_{\text{total}} + SNR_{\text{req}}

5. Link Margin

Once you compute received power (Prx) and sensitivity (Psens):

Link Margin=Prx−Psens\text{Link Margin} = P_{\text{rx}} – P_{\text{sens}}
  • Positive margin → Link is healthy
  • Zero margin → Borderline coverage
  • Negative margin → Out of coverage

DL vs UL Link‑Budget (Important in 5G)

In 5G NR, uplink is almost always weaker than downlink because:

  • UE transmit power is low (23–26 dBm)
  • gNB antenna arrays provide high DL gain
  • UL beamforming at UE is limited

Therefore UL usually defines:

  • Cell edge coverage
  • Uplink-limited throughput

This is why UL link‑budget is considered the limiting path in NR planning.

Example (n78, 3.5 GHz)

  • gNB EIRP: 61 dBm
  • UE gain: 0 dBi
  • Distance: 1 km
  • BW: 20 MHz
  • NF: 7 dB
  • Required SNR: 5 dB

FSPL ≈ 103.4 dB (from ITU P.525)

Noise floor (20 MHz) ≈ −101 dBm (from kTB)

Sensitivity = −101 + 7 + 5 = −89 dBm
Prx = 61 − 103.4 = −42.4 dBm
Margin = 46.6 dB (very strong link)

Summary (Easy‑to‑Remember)

Component Meaning
FSPL Loss due to distance & frequency (ITU P.525)
kTB Thermal noise floor (−174 dBm/Hz @ 290 K)
NF Receiver’s internal noise contribution
SNRreq Minimum SNR for decoding (modulation/coding dependent)
Prx Received signal after all gains/losses
Sensitivity Minimum power required to decode
Margin Prx − Sensitivity → coverage indicator

 

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR SSB/GSCN Calculator

5G NR SSB/GSCN Calculator

Notes (3GPP alignment)
  • GSCN mapping & ranges come from 38.104 §5.4.3 (global synchronization raster; FR1/FR2; 3 MHz special).
  • NR‑ARFCN mapping per 38.104 §5.4.2.1 (ΔFGlobal & offsets for 0–3 GHz, 3–24.25 GHz, and FR2).
  • This tool snaps off‑raster inputs to the nearest permissible on‑raster value and shows both.

 

NR‑ARFCN vs GSCN — What’s the Difference in 5G NR?

5G NR uses two separate numbering systems to identify frequencies:

  • NR‑ARFCN → identifies carrier center frequencies (used for channels like PDSCH, PUSCH, SS/PBCH reference points, etc.)
  • GSCN → identifies Synchronization Signal Block (SSB) frequencies (used for initial cell search and synchronization)

Although both map to frequencies, they serve different purposes, have different step sizes, and follow different equations.

1. NR‑ARFCN (Absolute Radio Frequency Channel Number)

NR‑ARFCN uniquely maps any RF channel frequency in the range 0–100 GHz.
The mapping is defined in 3GPP TS 38.104 §5.4.2.1.

 Purpose

  • Identifies carrier center frequency
  • Used in RF channel configuration, RRC signaling
  • Used for Point A, BWP, PRB alignment, and scheduling
  • Applies to FR1 and FR2

 Mapping Formula

(from 3GPP TS 38.104 Table 5.4.2.1‑1)

Depending on the frequency range:

(A) 0 – 3000 MHz

  • ΔFGlobal = 5 kHz
  • FREF-Offs = 0
  • NREF-Offs = 0
NR‑ARFCN=FMHz0.005\text{NR‑ARFCN} = \frac{F_{\text{MHz}}}{0.005}

(B) 3000 – 24250 MHz

  • ΔFGlobal = 15 kHz
  • FREF-Offs = 3000
  • NREF-Offs = 600000
NR‑ARFCN=600000+FMHz−30000.015\text{NR‑ARFCN} = 600000 + \frac{F_{\text{MHz}} – 3000}{0.015}

(C) 24250 – 100000 MHz

  • ΔFGlobal = 60 kHz
  • FREF-Offs = 24250.08
  • NREF-Offs = 2016667
NR‑ARFCN=2016667+FMHz−24250.080.06\text{NR‑ARFCN} = 2016667 + \frac{F_{\text{MHz}} – 24250.08}{0.06}

 Key Characteristics

  • Very fine resolution (5 kHz / 15 kHz / 60 kHz)
  • Covers all NR frequencies (usable for carriers, SSB, etc.)
  • Used by both UE and gNB for tuning receivers/transmitters
  • Exact alignment needed for spectrum planning and CA

2. GSCN (Global Synchronization Channel Number)

GSCN identifies where SSBs (PSS+SSS+PBCH) can be transmitted.
All SSBs must lie on a global synchronization raster defined in 3GPP TS 38.104 §5.4.3.

 Purpose

  • Identifies the SSB center frequency, not carrier center
  • Used for UE initial synchronization
  • Reduces search complexity → UE searches only these discrete frequencies
  • Defined differently for FR1 sub‑3 GHz, FR1 ≥3 GHz, and FR2

3. GSCN Frequency Mapping Rules

Mapping depends on the frequency region (above 3 MHz raster):

 (A) 0 – 3000 MHz region

fSSB=1.2N+0.05Mf_{\text{SSB}} = 1.2N + 0.05M

M ∈ {1,3,5} ― small steps around 50 kHz

GSCN=3N+M−32\text{GSCN} = 3N + \frac{M – 3}{2}

GSCN range: 2 – 7498

 (B) 3000 – 24250 MHz (FR1 mid-band)

fSSB=3000+1.44Nf_{\text{SSB}} = 3000 + 1.44N
GSCN=7499+N\text{GSCN} = 7499 + N

GSCN range: 7499 – 22255

 (C) 24250 – 100000 MHz (FR2 mmWave)

fSSB=24250.08+17.28Nf_{\text{SSB}} = 24250.08 + 17.28N
GSCN=22256+N\text{GSCN} = 22256 + N

GSCN range: 22256 – 26639

4. Summary Comparison Table

Feature NR‑ARFCN GSCN
Purpose Identify carrier frequency Identify SSB (sync signal) frequency
Used For Channel tuning, BWP, PointA, scheduling UE initial search, SSB decoding
Defined In 3GPP TS 38.104 §5.4.2.1 3GPP TS 38.104 §5.4.3
Step Size 5 / 15 / 60 kHz 1.2 / 1.44 / 17.28 MHz
Range 0–3 GHz, 3–24.25 GHz, 24.25–100 GHz Sub‑3 GHz, FR1, FR2
Precision Very fine raster Coarse raster
Search Complexity High (not used for search) Low (UE only checks GSCNs)
Links to Full carrier grid SSB center frequency only

5. Why 5G Needs Both?

NR‑ARFCN handles everything

  • Choosing carrier bandwidth
  • Defining scheduling grids
  • Setting PointA
  • Calculating PRB boundaries
  • Required for uplink & downlink channels

GSCN optimizes initial access

  • UE doesn’t know bandwidth or numerology
  • So it scans only pre‑defined SSB frequencies
  • Much faster synchronization
  • Reduces battery drain
  • Ensures consistent SSB placement across bands

The GSCN raster is a coarse global marker, while
NR‑ARFCN is a fine-granularity universal channel marker.

6. Simple Example: n78 (3300–3800 MHz)

  • In this range, SSB frequencies use 1.44 MHz steps
  • Example from 3GPP-derived calculators:
    • GSCN = 7725 → f = 3325.44 MHz
  • But the carrier center frequency will use ARFCN:
    • f = 3645.12 MHz → NR‑ARFCN = 643008 (15 kHz raster)

So SSB may not lie at the carrier center, and GSCN ≠ ARFCN.

 

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

5G NR Throughput Calculator

5G NR Throughput Calculator

If TDD, set DL duty cycle below
Enter scheduled PRBs per UE on this CC (e.g., 273 for FR1@100 MHz, 30 kHz SCS; see 38.104 tables).
Normal CP has 14 symbols/slot; subtract control/RS usage.
e.g., up to 8 DL / 4 UL by UE capability and deployment.
Includes DM‑RS, CSI‑RS, PDCCH, etc. Adjust per deployment.
Enter scheduled PRBs for the UE on this CC.
Notes
  • Peak mode follows the 3GPP UE data rate formulation (38.306‑style) using numerology, Qm, R, layers, PRBs, symbols/slot and an overhead factor.
  • TBS mode follows 38.214 logic: get (Qm,R) from MCS table, compute NRE per PRB, Ninfo and TBS, then TBS/slot × slots/sec (× DL duty × J).
  • Normal CP: 14 symbols/slot. Slots/sec = 1000 × 2μ.

 

5G NR Throughput Calculation — Complete Logic, Explanation & Formulas (3GPP‑Aligned)

This section explains the theory, assumptions, 3GPP references, formulas and logic used inside the 5G NR Throughput Calculator.

1. What Determines 5G NR Throughput?

The throughput in 5G NR fundamentally depends on:

  • Allocated PRBs (NPRB)
  • Modulation Order (Qm)
  • Coding Rate (R)
  • Number of Layers (ν)
  • Resource Elements (REs) per PRB
  • Slots per second (depends on numerology μ)
  • DL Duty Cycle (TDD only)
  • Number of Component Carriers (CA)
  • Overheads: DM‑RS, PDCCH, CSI‑RS, SSB etc.

These relationships come from 3GPP:

  • MCS Tables → Qm, R come from 3GPP TS 38.214 §5.1.3.1
  • TBS / RE calculation → Defined in 3GPP TS 38.214 (TBS calculation)
  • Slot duration & slots/sec → Defined by NR numerology in 3GPP TS 38.211 (frame/slot structure)
  • Peak throughput formula → Referenced in 3GPP TS 38.306 (UE capability)

2. NR Numerology (μ) → Slots per Second

5G NR uses flexible numerology μ, where each step doubles the subcarrier spacing and halves slot duration.

According to 3GPP NR numerology rules:

  • Slot duration = 1 ms / 2^μ
  • Slots per 10 ms frame = 10 × 2^μ
  • Slots per second = 1000 × 2^μ

Reference: 14 symbols/slot for Normal CP and slot duration scaling appear in 3GPP numerology descriptions.

μ SCS (kHz) Slot Duration (ms) Slots/sec
0 15 1.0 1000
1 30 0.5 2000
2 60 0.25 4000
3 120 0.125 8000
4 240 0.0625 16000

Used in calculator formula:

SlotsPerSecond = 1000 × 2^μ

3. MCS → Modulation Order (Qm) + Code Rate (R)

The calculator implements MCS Tables 1, 2, and 3 from:
3GPP TS 38.214, Table 5.1.3.1‑1, 5.1.3.1‑2, 5.1.3.1‑3.

Each entry gives:

  • Qm: bits per symbol → (QPSK=2, 16QAM=4, 64QAM=6, 256QAM=8)
  • R: Target code rate = (value / 1024)

Example (from Table 1):
MCS 18 → Qm = 6, R = 466/1024

The plugin loads these values exactly and uses them in throughput formulas.

4. Resource Elements (RE) per PRB

Each PRB has 12 subcarriers × (# data symbols).

Since every slot has 14 OFDM symbols (Normal CP) (3GPP NR numerology):

N_RE' = 12 × (DataSymbolsPerSlot)

But DM‑RS and overhead must be removed. Using 38.214 logic:

N_RE = min(156, N_RE' – DMRS – Overhead)

The calculator uses the cap 156 RE/PRB, documented in open TBS calculations based on 3GPP rules.

5. Information Bits (Ninfo) and TBS Calculation (TS 38.214)

The transport block size (TBS) is based on the total number of REs across all PRBs:

N_RE_total = N_RE × N_PRB

Information bits:

Ninfo = N_RE_total × Qm × R × ν

The TBS algorithm in 3GPP TS 38.214 splits into two cases depending on Ninfo ≤ 3824 or > 3824. The calculator uses the standard engineering rounding:

TBS = 6 × floor(Ninfo / 6)

This rounding to 6‑bit multiples is also described in TBS computation workflows.

6. TBS-Based Throughput Formula (Per CC)

Once TBS/slot is known, the reachable throughput for one component carrier is:

Throughput_per_CC (bps) = TBS × SlotsPerSecond × DL_DutyCycle

DL duty cycle is applied only for TDD mode. Duty cycle logic comes from standard understanding of TDD dynamic DL/UL allocation.

Output shown in Mbps:

Throughput_Mbps = (TBS × SlotsPerSecond × DL_DutyCycle) / 1e6

7. Peak Throughput Formula (38.306‑Style)

3GPP TS 38.306 defines a UE maximum data rate depending on:

  • PRBs allocated
  • 12 subcarriers per PRB
  • Qm
  • R (often Rmax = 948/1024 at highest MCS)
  • ν layers
  • symbols/slot
  • slots per second
  • overhead factor

Engineers often summarize the relationship as:

BitsPerSlot = (PRB × (12 × DataSymbols) × Qm × R × ν × (1 – OH))

Then:

Throughput_per_CC_Mbps
= BitsPerSlot × SlotsPerSecond × DL_DutyCycle / 1e6

This aligns with the peak data-rate logic found in NR UE capability explanations.

8. Component Carrier Aggregation (CA)

Final throughput is the sum across all carriers:

Total_Throughput = Throughput_per_CC × J

Where J = number of aggregated carriers (up to 16 as per NR CA discussions).

 9. Summary Table of All Formulas Used

Parameter Formula
Slots per second 1000 × 2^μ
RE per PRB N_RE = min(156, 12 × DataSymbols – DMRS – OH)
Total RE N_RE_total = N_RE × N_PRB
Information bits Ninfo = N_RE_total × Qm × R × ν
TBS TBS = 6 × floor(Ninfo / 6)
TBS throughput Throughput = TBS × SlotsPerSec × Duty / 1e6
Peak bits/slot Bits/slot = N_PRB × (12 × DataSymbols) × Qm × R × ν × (1–OH)
Peak throughput Peak = Bits/slot × SlotsPerSec × Duty / 1e6
CA Total Total = per_CC × J

 

 

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

gNB-ID ↔ NCI Calculator

gNB‑ID ↔ NCI Calculator

Notes
  • NCI is a 36-bit value: [gNB-ID (L bits)] || [Cell ID (36 − L) bits].
  • Valid L: 22 to 32. The Cell ID range is 0 … 2^(36−L) − 1.
  • Supports decimal and hex (prefix 0x optional).
  • All calculations are client-side; no data leaves your browser.

 

gNB‑ID & NCI: Concepts, Logic & Calculation Method (3GPP‑Aligned Notes)

These notes are aligned with:

  • 3GPP TS 38.300 (NR Overall Architecture)
  • 3GPP TS 38.413 (NGAP)
  • 3GPP TS 38.331 (RRC)

You may cite those standards in your blog.

1. What is gNB‑ID?

The gNB-ID (gNodeB Identifier) uniquely identifies a gNB within a PLMN.

  • It is a fixed-length binary identifier, where the length L is operator-configurable.
  • Valid lengths according to 3GPP:
22 bits ≤ L ≤ 32 bits

The gNB‑ID is part of the NR Cell Identity (NCI) and therefore becomes part of NR‑CGI.

Purpose of gNB‑ID:

  • Uniquely identify a gNB.
  • Used in NGAP messages between gNB and 5GC.
  • Part of NR‑CGI → used by UE during measurements and handovers.

2. What is NR Cell Identity (NCI)?

The NCI (NR Cell ID) is a 36‑bit globally unique cell identity.

NCI = 36 bits always, fixed by 3GPP.

The NCI is composed as:

[gNB-ID (L bits)] || [Cell ID (36 − L bits)]

Where:

  • L = gNB‑ID length (22 to 32)
  • Remaining bits = Cell ID

3. Why is NCI always 36 bits?

3GPP standardized 36 bits so that:

  • The cell identity fits into RRC, NGAP, and OAM messages uniformly.
  • Large deployments (dense NR networks) can allocate thousands of cells per gNB.

NCI Bit Structure:

Bit 35 -------------------------------- Bit 0
[ gNB-ID (L bits) | Local Cell ID (36-L bits) ]

Where Bit 35 is MSB (Most Significant Bit).

4. How many cells can a single gNB have?

Since the Cell ID portion = (36 − L) bits:

Number of local cells = 2^(36 − L)

Examples:

 
gNB‑ID Length (L) Cell ID Bits Max Cells per gNB
22 14 16,384
24 12 4,096
28 8 256
32 4 16

5. Forward Calculation: (gNB‑ID + Cell ID → NCI)

This is simply bit concatenation.

Formula:

NCI = (gNB_ID << (36 − L)) | CELL_ID

Where:

  • << = Left Shift
  • | = Bitwise OR

Example:

If:

  • L = 28 bits
  • gNB‑ID = 51234
  • Cell ID = 15

Then:

cell_bits = 36 − 28 = 8
NCI = (51234 << 8) | 15

The shift moves the gNB‑ID into the upper 28 bits.
OR-ing places the Cell ID in the lower bits.

6. Reverse Calculation: (NCI → gNB‑ID + Cell ID)

This is the inverse of concatenation.

Formulas:

gNB_ID = NCI >> (36 − L)
CELL_ID = NCI & (2^(36 − L) − 1)

Where:

  • >> = Right Shift
  • & = Bitwise AND

Explanation:

  1. Right shift drops lower bits → gives gNB‑ID.
  2. Masking extracts only the lower (36 − L) bits → gives Cell ID.

7. Why shifting & masking works?

Because binary concatenation works as:

A || B  ===  (A << length(B)) | B

So the reverse operations naturally retrieve:

  • Upper bits → A (gNB-ID)
  • Lower bits → B (Cell ID)

This method is 100% bit-accurate and matches how signaling messages pack the identifiers.

8. Where are these identifiers used in 3GPP?

 RRC (TS 38.331)

  • ServingCellConfigCommon includes NR‑CGI.
  • UE uses NR‑CGI for measurements and reporting (e.g., MeasResult).

 NGAP (TS 38.413)

  • NCI appears in messages like:
    • NG Setup
    • UE Context Setup Request
    • Handover Request

 OAM / O-RAN Management

  • NCI is logged for:
    • Performance metrics
    • Fault logs
    • PCI/RSRP Coverage analysis

9. Example Bit-Level Construction

Let’s assume:

  • gNB‑ID = 0xC85A → binary: 1100100001011010 (16 bits, but suppose padded to 28 bits)
  • L = 28
  • Cell ID = 0x0F (8 bits)

Final 36-bit NCI:

[ gNB-ID (28 bits) ][ Cell ID (8 bits) ]

Binary example:

1100100001011010 00000000 00001111

Hex packed:

0xC85A00F

Your plugin will output the exact decimal and hexadecimal form.

10. Why flexible gNB-ID length (22–32 bits)?

Operators need:

  • Freedom to plan numbering for thousands of sites.
  • Support for hierarchical cell identity structures.
  • Efficient NMS/OAM identity mapping.

If an operator has:

  • Few gNBs → larger Cell ID bits.
  • Many gNBs → smaller Cell ID bits.

This flexibility is crucial for large nationwide deployments.

11. Summary (Perfect for blog conclusion)

 
Concept Definition
gNB‑ID 22–32‑bit identifier for the gNB
NCI Always 36 bits = gNB‑ID (L bits) + Cell ID (36−L bits)
Forward Calc `NCI = (gNB_ID << (36 − L))
Reverse Calc gNB_ID = NCI >> (36 − L) + CELL_ID = NCI & ((1<<(36−L))-1)
Why it matters Used in NR‑CGI, RRC, NGAP signaling, handovers, measurements

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

NR ARFCN ↔ Frequency Converter

NR-ARFCN Frequency Converter

Frequency (MHz)
NR-ARFCN
NR Band
Frequency Range

What is NR-ARFCN?

NR-ARFCN stands for New Radio Absolute Radio Frequency Channel Number.

  • It’s a unique number assigned to each 5G NR frequency channel.

  • Instead of remembering the frequency in MHz, engineers can refer to a single number (ARFCN).

  • Defined by 3GPP TS 38.104 standard.

Example:

  • NR Band n78, downlink frequency 3500 MHz → ARFCN = 630000

  • NR Band n41, downlink frequency 2600 MHz → ARFCN = 253333

Why convert ARFCN ↔ Frequency?

Different situations require different formats:

Use Case Preferred Format
Network configuration on 5G base station ARFCN
Spectrum analysis / measurement Frequency (MHz)
Testing & simulation Both

This tool allows you to quickly convert between ARFCN and frequency, saving time and avoiding mistakes.

 How the calculation works (per 3GPP TS 38.104)

3GPP defines linear formulas to convert ARFCN to frequency:

FR1 (Sub-6 GHz)

  • Frequency ff in MHz =

f=Flow+0.005×(NARFCN)f = F_\text{low} + 0.005 \times (N_\text{ARFCN})

or other linear formulas depending on band and range.

FR2 (mmWave)

  • Frequency ranges are higher (24–52 GHz), with different step sizes.

  • Conversion formula:

f=Flow+0.06×(NARFCN−Noffset)f = F_\text{low} + 0.06 \times (N_\text{ARFCN} – N_\text{offset})

In the plugin, we simplified the ranges for common bands like n41, n78, n257, n258, and n261.

 NR Band Detection

5G NR bands are divided into:

  • FR1 – Sub-6 GHz spectrum (e.g., n41, n78)

  • FR2 – mmWave spectrum (e.g., n257, n258, n261)

Band Frequency Range (MHz) FR
n41 2496 – 2690 FR1
n78 3300 – 3800 FR1
n257 26500 – 29500 FR2
n258 24250 – 27500 FR2
n261 27500 – 28350 FR2

This tool automatically detects the NR band based on the frequency.

January 31, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

Number System Calculator

Number System Calculator

Binary
Octal
Decimal
Hex

What is a Number System?

A number system is a way to represent numbers using a specific set of digits.
In computers and digital electronics, different number systems are used to store and process data.


Types of Number Systems

Decimal Number System (Base 10)

  • Digits used: 0 to 9

  • Base: 10

  • This is the number system we use in daily life.

Example:
245
= (2 × 10²) + (4 × 10¹) + (5 × 10⁰)


Binary Number System (Base 2)

  • Digits used: 0 and 1

  • Base: 2

  • Used internally by computers.

Example:
1011₂
= (1 × 2³) + (0 × 2²) + (1 × 2¹) + (1 × 2⁰)
= 11₁₀


Octal Number System (Base 8)

  • Digits used: 0 to 7

  • Base: 8

  • Short form of binary, used in some computer systems.

Example:
17₈
= (1 × 8¹) + (7 × 8⁰)
= 15₁₀


Hexadecimal Number System (Base 16)

  • Digits used: 0–9 and A–F

  • Base: 16

  • Commonly used in programming, memory addresses, and colors.

Hex Decimal
A 10
B 11
C 12
D 13
E 14
F 15

Example:
1A₁₆
= (1 × 16¹) + (10 × 16⁰)
= 26₁₀


Number System Conversion

Conversion means changing a number from one number system to another.

Common Conversions:

  • Binary → Decimal

  • Decimal → Binary

  • Decimal → Octal

  • Decimal → Hexadecimal

 Our Number System Calculator automatically converts numbers into all formats instantly.

January 14, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

Age-Calculator:

Calculate Your Age To Given Date
Your Birth Date (From Date)
To Date

January 4, 2026

Leave a Reply

Your email address will not be published. Required fields are marked *

Post View
  • Total Visitors: 17910