MikroTik Queue Tree & QoS Calculator
Share a parent's bandwidth across traffic classes with priority, limit-at, max-limit and the PCQ share per user.
- Left to borrow (above limit-at)
- 15 Mbps
- Classes
- 4
- RouterOS good-practice check
- Matches the RouterOS manual's advice
Values for each child queue
| Class | Priority | limit-at (Mbps) | max-limit (Mbps) | Guaranteed per user (Mbps) |
|---|---|---|---|---|
| VoIP & video calls | 1 | 15 | 40 | 15 |
| Gaming & DNS | 2 | 10 | 30 | 10 |
| Browsing | 4 | 40 | 95 | 0.8 |
| Bulk downloads | 8 | 20 | 90 | 0.4 |
Formula and sources
Class limit-at = parent max-limit × guaranteed share; class max-limit = parent max-limit × maximum share RouterOS manual: the children's limit-at add up to ≤ the parent's max-limit, and every child's max-limit < the parent's PCQ shares a class's rate equally among active users: guaranteed per user = limit-at ÷ users
When to use the MikroTik Queue Tree & QoS
Guaranteed and maximum
limit-at is the rate a class is guaranteed, and max-limit the highest it may reach when bandwidth is free. Classes borrow spare bandwidth between the two.
Priority 1 to 8
Priority decides which class gets spare bandwidth first once every limit-at is met; 1 is highest and 8 lowest. VoIP and games usually sit at the top, bulk downloads at the bottom.
Rules from the RouterOS manual
MikroTik's manual advises that the children's limit-at add up to no more than the parent's max-limit, and that every child's max-limit stays below the parent's so other classes still get a share. The calculator checks both.
Per-user share with PCQ
When a class uses a PCQ queue, its rate is shared equally among active users. Enter the number of users to see the speed each person is guaranteed when everyone is online.
Frequently asked questions
How is traffic sorted into classes?
With mangle rules that set a packet-mark by port, address or service; each child queue then uses that packet-mark. Rule order matters: traffic that is already marked should not be re-marked by a later rule.
Does this cover upload and download?
Make a separate plan for each direction, because ISP upload and download speeds usually differ, and attach each queue tree to the interface or mark that matches its direction.
What about burst?
Burst is set per queue. Use the MikroTik burst calculator to work out the burst duration from burst-limit, burst-threshold and burst-time.
Related calculators
- MikroTik BurstMikroTik queue burst duration from burst-limit, burst-threshold and burst-time, with value checks.Example: Longest burst6.4 sCalculate →
- Data Transfer TimeHow long a file or backup takes at a link speed, or the speed needed to finish in time.Example: Transfer time01:14:04Calculate →
- VLSMCarve one IP block into subnets sized to each network's host count, with no overlaps.Example: Addresses allocated244Calculate →