1. Home
  2. Developer tools
  3. PPS Calculator

PPS Calculator

Switch and firewall data sheets quote packets per second. Enter the link speed and frame size to see the theoretical maximum, or turn a packet rate into bandwidth.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use PPS Calculator

  1. Choose the direction of the calculation.
  2. Enter the link speed and frame size.
  3. Read the packets per second.

Features

  • Includes 20 bytes of preamble and inter-frame gap
  • Table for common frame sizes
  • Reverse: bandwidth for a packet rate
  • Time per packet in nanoseconds
  • Link speeds from 10 Mbit/s to 100 Gbit/s
  • Jumbo frame sizes

Supported formats

Input

  • Link speed and frame size

You get

  • Packets per second
  • Frame time

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the PPS Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It uses the Ethernet preamble and inter-frame gap for line-rate figures; other media differ.
  • Real devices are also limited by their processing, not only by the link.

Guide

Packet rates at line speed: why small frames stress networks

Bits per second tell only half of a network device’s story. Every packet takes a fixed amount of work from a switch, router or firewall, so a link full of tiny packets can overwhelm a device that handles the same bit rate of large ones without effort. The page converts between link speed, frame size and packet rate.

What a frame costs on the wire

An Ethernet frame is sent after a preamble of 7 bytes and a start-of-frame delimiter of 1, 8 bytes together, and the sender must then leave a gap equivalent to 12 bytes before the next frame. Neither is part of the frame size that tools report, but both use link time. The minimum frame is 64 bytes, so it occupies 64 + 8 + 12 = 84 bytes, 672 bits, of wire time. At 1 Gbit/s that is 672 nanoseconds per packet, or 1,488,095 packets per second. At 10 Gbit/s the figures become 67.2 nanoseconds and 14,880,952 packets per second.

Two calculations

The default mode, “Packets per second at line rate”, takes the link speed in Mbit/s and the frame size in bytes (64 is the minimum, 1518 the classic maximum). The other mode, “Bandwidth needed for a packet rate”, works backwards: given a rate in packets per second and a frame size, it returns the line rate required and, separately, the bandwidth of the frame payload alone without preamble and gap. Presets load gigabit Ethernet with 64-byte frames, 10 gigabit with 1518-byte frames and 2 million packets per second of 512-byte frames.

The table

Below the answer, a table gives the maximum packet rate for your link speed at eight frame sizes. At 1000 Mbit/s the rates are 1,488,095 at 64 bytes, 844,595 at 128, 452,899 at 256, 234,962 at 512, 119,732 at 1024, 96,154 at 1280, 81,274 at 1518 and 13,858 at 9000 bytes. The rate falls roughly in proportion to the frame size, which is why jumbo frames cut the load on a CPU by a large factor for bulk transfers.

A worked example

With the first preset, a 1 GbE link with 64-byte frames, the page shows 1,488,095 packets per second, a time per packet of 672.0 ns, and 84 bytes on the wire per frame (64 + 8 + 12). That is the figure to compare with a device’s forwarding rate, which vendors usually quote for 64-byte frames. For ten times the speed, multiply by ten: 14,880,952 packets per second.

Limits

These are theoretical maxima for Ethernet. Real traffic contains a mixture of sizes, with many acknowledgements near the minimum and bulk data near the maximum. A device that can sustain line rate for 64-byte frames in a data sheet may still drop packets under features such as deep inspection, encryption or logging. Over VLAN tags, tunnels or other media the overhead per frame differs. For bandwidth rather than packet counts, see the Network Goodput Calculator.

Checked against the current version of the PPS Calculator on .

Frequently asked questions

Why do firewall data sheets quote a packet rate as well as a throughput?

Processing cost is mostly per packet, not per byte. A device may forward 10 Gbit/s of large frames easily and struggle at a few million small packets per second, so the packet rate is the harder test.

What is 64 bytes in the tables?

It is the minimum Ethernet frame, counting the headers and checksum but not the preamble and gap. Vendors quote their forwarding rates for this size because it is the worst case.

How many packets per second is gigabit at 64 bytes?

1,488,095. Each 64-byte frame occupies 84 byte times on the wire once the preamble and gap are added.

Why do data sheets use 64-byte frames?

They are the smallest frames and so the hardest case for packets per second. Larger frames give lower packet rates for the same bandwidth.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.