Calculate frame loss ratio as a percentage from transmitted and lost or received frame counts, or estimate lost or transmitted frames from a loss %.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Loss ratio from lost framesFinds the frame loss percentage from a count of lost framesRequires the transmitted frames and the lost frames
Loss ratio from received framesFinds the frame loss percentage from the counters at each end of a link or testRequires the transmitted frames and the received frames
Estimate lost framesFinds how many frames a given loss percentage impliesRequires the transmitted frames and the loss percentage
Estimate transmitted framesFinds the transmitted total that a lost count and a loss percentage implyRequires the lost frames and the loss percentage

Frame counts are whole numbers and the loss percentage runs from 0 to 100. Every result shows the loss ratio as a fraction and as a percentage, the received frames and the received share.

Frame Loss Ratio Formulas

FLR = (T − R) ÷ T [1]
FLRFrame loss ratio as a fraction. Multiplied by 100 it is the loss percentage
TFrames transmitted
RFrames received

ITU-T Y.1563 defines the Ethernet frame loss ratio as the lost frames divided by the transmitted frames in the population being measured [1]. The benchmarking procedure in RFC 2544 computes the same quantity as a percentage from the count sent into a device and the count it sends out [2].

Loss ratio from lost frames

Loss % = L ÷ T × 100

L is the number of lost frames, which is T − R. With 1,000 frames sent and 50 lost, the loss is 50 ÷ 1,000 × 100 = 5%, a ratio of 0.05. A lost count larger than the transmitted count is rejected.

Loss ratio from received frames

This is the main formula with the two counters entered directly. With 1,000 frames sent and 950 received, 50 are lost and the loss is 5%. A received count above the transmitted count is rejected, because the formula has no place for duplicated frames.

Estimate lost frames

L = T × Loss % ÷ 100

A loss of 0.1% on 1,000,000 frames is 1,000 lost frames. The answer is an expected count, so it can be fractional: 0.1% of 1,500 frames is 1.5.

Estimate transmitted frames

T = L ÷ (Loss % ÷ 100)

If 25 frames were lost at a 0.5% loss rate, about 25 ÷ 0.005 = 5,000 frames were sent. A loss of 0% cannot be used here, because no total can be worked back from it.

Limits of This Estimate

  • Both counters must cover the same traffic over the same interval. Counters read at different times, or on ports carrying other traffic, give a ratio that means nothing.
  • What counts as lost depends on the measurement. In the IETF packet loss metric a packet is lost if it does not arrive within a waiting time, a corrupted packet counts as lost, and a duplicated packet counts once [4]. The calculator only sees the totals.
  • RFC 1242 frames loss as frames a device should have forwarded under constant load but did not for lack of resources, reported against offered load [3]. A single percentage does not show the load at which the loss occurred, and it does not say whether a link meets a service level.

Sources