Skip to main content

MikroTik Bandwidth Calculator (Simple Queue, Burst, PCQ, FQ-CoDel)

Calculate Limit-At (CIR), Max-Limit (MIR), Burst, PCQ, and FQ-CoDel for RouterOS v7 with automated configuration script generation.

Input Parameters

Try Example:
Mbps
11000
Mbps
11000
110000
%
1100
%
100500
%
1100
s
1300
%
50100
1254

Calculation Results

Calculation Mode
simple
Normalized Target
192.168.88.0/24
Target Type
cidr
Total Clients
30 Clients
Active Concurrent Clients
15 Clients
ISP Shaping Headroom
95 %
Effective Download Bandwidth
95 Mbps
Effective Upload Bandwidth
38 Mbps
Download Max-Limit (RouterOS)
95M
Upload Max-Limit (RouterOS)
38M
Burst Feature Enabled
Yes / Active
Burst Time Window
8 Seconds
PCQ Total Queue Limit
2,000 KiB
Want to compare 2 design options side-by-side (e.g., Scenario A vs Scenario B)?
⚡ Network Reflex Speed Drill (SKKNI, MTCNA & CCNA)
Test MTCNA / CCNA skills & download stamped score certificate
⚡ Enterprise SMB Tier (150–800 Mbps)
MikroTik RB5009UG+S+IN / L009UiGS
RouterOS v7 Level 5 • Marvell Armada Quad-Core 1.4 GHz (1GB RAM)

Handles Multi-WAN PCC mangle rules and FQ-CoDel queue trees with low CPU utilization.

Download Queue Parameters (Per Client)
Limit-At / CIR
3.167 Mbps
Max-Limit / MIR
6.333 Mbps
Burst-Limit
9.5 Mbps
Burst-Threshold
4.75 Mbps
Effective Burst Duration
4 Seconds
Limit-At Format (ROS)
3167k
Max-Limit Format (ROS)
6333k
Burst-Limit Format (ROS)
9500k
Burst-Threshold Format (ROS)
4750k
Upload Queue Parameters (Per Client)
Limit-At / CIR
1.267 Mbps
Max-Limit / MIR
2.533 Mbps
Burst-Limit
3.8 Mbps
Burst-Threshold
1.9 Mbps
Effective Burst Duration
4 Seconds
Limit-At Format (ROS)
1267k
Max-Limit Format (ROS)
2533k
Burst-Limit Format (ROS)
3800k
Burst-Threshold Format (ROS)
1900k
Terminal Configuration Script (CLI)
# =====================================================================
# KalkuNet — MikroTik Simple Queue + Burst | RouterOS v7
# Dibuat: 2026-11-06 | Target: 192.168.88.0/24 | Klien: 30
# Total shaping: 95M down / 38M up (headroom 95%)
# Tool: https://kalkunet.com/id/tools/mikrotik-queue-calculator
# =====================================================================
# PENTING: queue tidak memproses trafik FastTrack. Nonaktifkan bila perlu:
# /ip firewall filter disable [find action=fasttrack-connection]

/queue simple
add name="ST-TOTAL" target=192.168.88.0/24 max-limit=38M/95M comment="KalkuNet - parent total bandwidth"

# Queue per klien: 192.168.88.2 s/d 192.168.88.31
{
  :local base [:toip "192.168.88.0"]
  :for i from=2 to=31 do={
    /queue simple add name=("ST-Client-" . $i) target=(($base + $i) . "/32") parent="ST-TOTAL" limit-at=1267k/3167k max-limit=2533k/6333k burst-limit=3800k/9500k burst-threshold=1900k/4750k burst-time=8s/8s comment="KalkuNet - client queue"
  }
}

# Verifikasi: /queue simple print stats  |  /queue tree print stats
Multi-Vendor CLI & Packet Flow

Multi-Vendor Config Translator & Interactive Packet Flow Visualizer

Interactive Packet Flow Pipeline (Click Stage to Inspect)WAN ➔ Prerouting/NAT ➔ Filter/QoS ➔ LAN
1. Packet ClassificatioTarget: 192.168.88.0/242. CIR Guarantee (LimitGuaranteed Minimum3. FQ-CoDel / PCQ SchedAnti-Bufferbloat AQM4. MIR Ceiling & Burst13M / 25M
1. Packet Classification: Mangle rules classify packets by DSCP, real-time VoIP/Gaming ports, and per-IP flows.
# =====================================================================
# KalkuNet — MikroTik Simple Queue + Burst | RouterOS v7
# Dibuat: 2026-11-06 | Target: 192.168.88.0/24 | Klien: 30
# Total shaping: 95M down / 38M up (headroom 95%)
# Tool: https://kalkunet.com/id/tools/mikrotik-queue-calculator
# =====================================================================
# PENTING: queue tidak memproses trafik FastTrack. Nonaktifkan bila perlu:
# /ip firewall filter disable [find action=fasttrack-connection]

/queue simple
add name="ST-TOTAL" target=192.168.88.0/24 max-limit=38M/95M comment="KalkuNet - parent total bandwidth"

# Queue per klien: 192.168.88.2 s/d 192.168.88.31
{
  :local base [:toip "192.168.88.0"]
  :for i from=2 to=31 do={
    /queue simple add name=("ST-Client-" . $i) target=(($base + $i) . "/32") parent="ST-TOTAL" limit-at=1267k/3167k max-limit=2533k/6333k burst-limit=3800k/9500k burst-threshold=1900k/4750k burst-time=8s/8s comment="KalkuNet - client queue"
  }
}

# Verifikasi: /queue simple print stats  |  /queue tree print stats
Share to WhatsApp
ℹ️

Technical Accuracy Note: Calculation results are engineering estimates based on standard RFC/IEEE/ITU-T models. Actual field performance may vary due to protocol overhead, hardware specifications, and environmental factors.

🚀 Share Calculation Results or Embed on Your Site

Deep-link automatically preserves your current inputs — ideal for WhatsApp, Telegram, Reddit, or engineering docs.

How to Use This Tool

  1. Enter the target network in CIDR notation (e.g. 192.168.88.0/24) or an interface name (e.g. bridge-lan), along with your ISP Download/Upload speeds and total client count.
  2. Select the queue mode (Simple Queue + Burst, PCQ, or FQ-CoDel), active concurrency ratio, ISP shaping headroom percentage (95% recommended), and Burst settings.
  3. Review the computed Limit-At (CIR), Max-Limit (MIR), Burst-Limit, effective burst duration, and configuration warnings, then copy the RouterOS v7 script into your terminal.

Worked Example: Office 30 Clients (100/40 Mbps Simple Queue)

Computed example: A 100/40 Mbps ISP link with 95% headroom yields a parent queue of 95M down / 38M up. Across 30 clients (15 concurrent), each client receives CIR 3167k down / 1267k up, Max-Limit 6333k down / 2533k up, and Burst-Limit 9500k for an effective 4 seconds.

Example Input
Target Network (CIDR) or Interface
192.168.88.0/24
ISP Download Bandwidth (Mbps)
100 Mbps
ISP Upload Bandwidth (Mbps)
40 Mbps
Total Number of Clients / Devices
30 Clients
Active Client Concurrency Ratio (%)
50 %
Queue Mode (Strategy)
Simple Queue + Burst (Per Client)
Burst Multiplier (% of Max-Limit)
150 %
Burst Threshold (% of Max-Limit)
75 %
Burst-Time Window (Seconds)
8 Seconds
ISP Shaping Headroom (%)
95 %
Start Host Offset for Client Queues
2
Parent Queue Name
ST-TOTAL
Calculated Output
Calculation Mode
simple
Normalized Target
192.168.88.0/24
Target Type
cidr
Total Clients
30 Clients
Active Concurrent Clients
15 Clients
ISP Shaping Headroom
95 %
Effective Download Bandwidth
95 Mbps
Effective Upload Bandwidth
38 Mbps
Download Max-Limit (RouterOS)
95M
Upload Max-Limit (RouterOS)
38M
Burst Feature Enabled
Yes / Active
Burst Time Window
8 Seconds
PCQ Total Queue Limit
2,000 KiB
Terminal Configuration Script (CLI)
# ===================================================================== # KalkuNet — MikroTik Simple Queue + Burst | RouterOS v7 # Dibuat: 2026-11-06 | Target: 192.168.88.0/24 | Klien: 30 # Total shaping: 95M down / 38M up (headroom 95%) # Tool: https://kalkunet.com/id/tools/mikrotik-queue-calculator # ===================================================================== # PENTING: queue tidak memproses trafik FastTrack. Nonaktifkan bila perlu: # /ip firewall filter disable [find action=fasttrack-connection] /queue simple add name="ST-TOTAL" target=192.168.88.0/24 max-limit=38M/95M comment="KalkuNet - parent total bandwidth" # Queue per klien: 192.168.88.2 s/d 192.168.88.31 { :local base [:toip "192.168.88.0"] :for i from=2 to=31 do={ /queue simple add name=("ST-Client-" . $i) target=(($base + $i) . "/32") parent="ST-TOTAL" limit-at=1267k/3167k max-limit=2533k/6333k burst-limit=3800k/9500k burst-threshold=1900k/4750k burst-time=8s/8s comment="KalkuNet - client queue" } } # Verifikasi: /queue simple print stats | /queue tree print stats
Download Queue Parameters (Per Client)
Limit-At / CIR
3.167 Mbps
Max-Limit / MIR
6.333 Mbps
Burst-Limit
9.5 Mbps
Burst-Threshold
4.75 Mbps
Effective Burst Duration
4 Seconds
Limit-At Format (ROS)
3167k
Max-Limit Format (ROS)
6333k
Burst-Limit Format (ROS)
9500k
Burst-Threshold Format (ROS)
4750k
Upload Queue Parameters (Per Client)
Limit-At / CIR
1.267 Mbps
Max-Limit / MIR
2.533 Mbps
Burst-Limit
3.8 Mbps
Burst-Threshold
1.9 Mbps
Effective Burst Duration
4 Seconds
Limit-At Format (ROS)
1267k
Max-Limit Format (ROS)
2533k
Burst-Limit Format (ROS)
3800k
Burst-Threshold Format (ROS)
1900k

Core Concept & Engineering Notes

Bandwidth management in MikroTik RouterOS ensures fair link sharing across all clients while preventing bufferbloat—the latency spike that occurs when a single device saturates the upstream ISP modem queue. This calculator computes queue parameters across the three primary traffic-shaping strategies in RouterOS v7: per-client Simple Queues with Burst, Per Connection Queue (PCQ) for dynamic multi-user networks, and FQ-CoDel (Fair Queuing Controlled Delay) for modern low-latency packet scheduling. Under MikroTik's Hierarchical Token Bucket (HTB) scheduler, every child queue relies on two foundational rates: Limit-At (Committed Information Rate / CIR), which guarantees a minimum bandwidth floor during peak congestion, and Max-Limit (Maximum Information Rate / MIR), which caps a client's throughput when spare capacity is available on the parent queue. To take control of the bottleneck away from the ISP modem or ONT, the parent queue Max-Limit should always be shaped to 90%–95% (headroom) of the measured ISP line rate. MikroTik's token-bucket Burst mechanism temporarily allows a client to exceed Max-Limit up to Burst-Limit as long as the sliding-window average rate over Burst-Time remains below Burst-Threshold. The most common field misconfigurations are setting Burst-Threshold equal to or higher than Max-Limit—which prevents burst from ever triggering—and leaving IPv4 FastTrack enabled in the firewall filter table, which causes packets to bypass Simple Queues and global Queue Trees entirely.

How It Was Calculated (Formulas & Steps)

Frequently Asked Questions (FAQ)

Why must Limit-At (CIR) and Max-Limit (MIR) be configured separately in MikroTik?

Limit-At (CIR) is the guaranteed minimum bandwidth floor when the link is congested; the sum of all child Limit-At values must not exceed the parent Max-Limit. Max-Limit (MIR) is the ceiling a client can reach when spare parent bandwidth is available.

How is the effective Burst duration calculated in MikroTik?

MikroTik averages throughput over the Burst-Time sliding window. Starting from an idle state (0 bps) and pulling at full Burst-Limit, the effective burst duration before the window average hits Burst-Threshold is (Burst-Time × Burst-Threshold) ÷ Burst-Limit.

When should I choose PCQ or FQ-CoDel over per-IP Simple Queues?

Use per-IP Simple Queues when you need strict per-host CIR guarantees and per-IP traffic graphs (up to ~50–100 clients). Use PCQ on large DHCP/Hotspot subnets (hundreds of users) to minimize CPU load, or FQ-CoDel in RouterOS v7 to eliminate bufferbloat for gaming and VoIP with a single parent queue.

Why is my Simple Queue not limiting client traffic at all?

The most common cause is an active `action=fasttrack-connection` firewall filter rule. FastTracked packets bypass Simple Queues and `parent=global` Queue Trees completely. Disable the FastTrack rule or exclude your shaped subnets from FastTrack.

References & Notes

Last updated: Technically Verified · Industry Standard

Note: Results above are mathematical estimates based on standard formulas. Always verify against official vendor documentation and site conditions before production deployment.

🔗Related Scenarios & Companion Calculators

Browse All 30+ Scenarios →
🔬 Scientific Methodology & Normative Verification

Engineering Sensitivity Analysis, Response Curve & Technical Citation

✓ Calibrated to ISO/IEC/IEEE/TIA Clauses

1. 1. 3-Point Engineering Sensitivity & Tolerance Envelope

Comparative evaluation across theoretical laboratory bounds (0% loss), current nominal operating point, and conservative field safety bounds (±15% thermal/aging derating).

Evaluated Parameter Ideal Theoretical Bound Nominal Operating Point Conservative Safety Bound (±15%) Engineering Derating Rule
Total Clients 27 30 34.5 Engineering Safety Margin (+15% Overhead)
Active Concurrent Clients 13.5 15 17.25 Engineering Safety Margin (+15% Overhead)
ISP Shaping Headroom 85.5 95 109 Engineering Safety Margin (+15% Overhead)
Effective Download Bandwidth 85.5 95 109 Engineering Safety Margin (+15% Overhead)
Effective Upload Bandwidth 34.2 38 43.7 Engineering Safety Margin (+15% Overhead)

2. 2. Mathematical Function Curve & Operating Coordinate (x₀, y₀)

MATHEMATICAL RESPONSE CURVE: TOTAL CLIENTS VS DOWNLOAD QUEUE PARAMETERS (PER CLIENT) Conservative Engineering Bound (+15% Safety Margin) 40 60 80 100 120 140 160 (x₀=100, y₀=30) Variabel Independen (x): Download Queue Parameters (Per Client)

3. 3. Physical Constants & Normative Standard Clauses

R_loop(Cat6, 20°C) = 14 Ω/100m ANSI/TIA-568.2-D & IEEE 802.3bt

DC Loop Resistance for 23 AWG Solid Copper Cat6

Clause 6.4.1 / Table 145-1 — Nominal 23 AWG solid copper loop resistance at 20°C is 14.0 Ω/100m (TIA maximum ceiling is 18.8 Ω/100m).

α_opt(1490nm) = 0.25 dB/km ITU-T Rec. G.652.D & G.984.2

Single-Mode Optical Fiber Attenuation Coefficient at 1490 nm

Table 1 / Class B+ & C+ Optical Path — Typical G.652.D attenuation at 1490 nm downstream is 0.22–0.25 dB/km (1310 nm upstream: 0.35 dB/km).

α_Cu(20°C) = 0.00393 °C⁻¹ IEC 60028

Temperature Coefficient of Resistance for Copper

International Annealed Copper Standard — Used in thermal derating equation: R(T) = R_20 × [1 + 0.00393 × (T - 20)].

4. 4. Independent Technical & Academic Citation (IEEE / APA 7th / BibTeX / LaTeX)

Use the standard citation formats below to reference this computational methodology in engineering specifications, audit reports, or academic papers.

Format IEEE & APA 7th Edition

[IEEE] KalkuNet Engineering Team, "MikroTik Bandwidth Calculator (Simple Queue, Burst, PCQ, FQ-CoDel) — Standard Engineering Computational Instrument," KalkuNet Technical Suite, 2026. [Online]. Available: https://kalkunet.com/en/tools/mikrotik-queue-calculator. [Accessed: 2026-11-08].

[APA 7th] KalkuNet Engineering Team. (2026). MikroTik Bandwidth Calculator (Simple Queue, Burst, PCQ, FQ-CoDel) (Production release 2026-11-08) [Engineering computational software]. KalkuNet. https://kalkunet.com/en/tools/mikrotik-queue-calculator

BibTeX & LaTeX Derivation Snippet
@software{kalkunet_mikrotik_queue_calculator_2026,
  author = {{KalkuNet Engineering Team}},
  title = {{MikroTik Bandwidth Calculator (Simple Queue, Burst, PCQ, FQ-CoDel) --- KalkuNet Engineering Suite}},
  year = {2026},
  publisher = {KalkuNet.com},
  url = {https://kalkunet.com/en/tools/mikrotik-queue-calculator},
  urldate = {2026-11-08}
}

% LaTeX Engineering Derivation — Generated via https://kalkunet.com/en/tools/mikrotik-queue-calculator
\begin{equation}
  \text{Model: } Shaped Parent Bandwidth = ISP Bandwidth × (Headroom ÷ 100)
\end{equation}
% Parameter Input Terukur: target = 192.168.88.0/24, \; down = 100, \; up = 40, \; users = 30
% Hasil Evaluasi Numerik : mode = \mathbf{simple}, \; targetNormalized = \mathbf{192.168.88.0/24}, \; targetType = \mathbf{cidr}