Packet Loss Calculator
Find the percentage of packets lost from the number sent and received.
What it does
Packet loss happens when data packets fail to reach their destination. It is usually expressed as a percentage of the packets that were sent, and it can come from transmission errors, congestion or overloaded equipment.
This tool takes the number of packets sent and the number received. It subtracts to find the lost packets, divides by the number sent to get the loss rate, and reports the complementary delivery rate.
The page opens with 1,000 packets sent and 970 received. Thirty packets were lost, so the loss rate is 3.000 percent and the delivery rate is 97.000 percent.
Loss is commonly measured with tools that send a series of probe packets and count the replies that never arrive. Router counters can also report dropped packets directly, and the two methods may give different views of the same path.
The rate here is a simple ratio over the measurement interval. It says nothing about where the losses occur or whether they arrive in bursts, which matters for real time traffic such as voice and video.
How to use
- Enter the total number of packets sent.
- Enter the number that were received.
- Read the packet loss rate as the main result.
- Check the lost packet count to confirm the subtraction.
- Use the delivery rate for the complementary view.
- Try a small test such as 10 sent and 9 received to see a 10 percent loss.
Formula
- sent
- Total packets transmitted during the measurement.
- received
- Packets that arrived at the destination.
- lost
- Sent minus received.
A related definition used in router centric measurements divides lost packets by the sum of lost and successfully transmitted packets, which equals the same ratio when sent includes the lost packets. The tool requires received to be between zero and sent so the rate stays in the range 0 to 100 percent.
Worked example
Example: 1000 sent, 970 received
The page opens with 1,000 packets sent and 970 received.
- Subtract received from sent: 1,000 minus 970 is 30 lost packets.
- Divide 30 by 1,000 to get 0.03.
- Multiply by 100 to get a loss rate of 3.000 percent.
- The delivery rate is 100 minus 3, which is 97.000 percent.
- A ping test reaching this result would report three percent packet loss.
- The tool reports loss rate 3.000 % and lost 30.
Reference table
| Packets sent | Packets received | Packets lost | Loss rate |
|---|---|---|---|
| 1,000 | 970 | 30 | 3.000 % |
| 10,000 | 9,980 | 20 | 0.200 % |
| 100 | 100 | 0 | 0.000 % |
Limits
- Counts must be whole numbers.
- Received packets cannot exceed sent packets.
- The result is an average over the measurement interval, not a burst profile.
- Does not identify the cause or location of the losses.
Common mistakes
- Dividing lost packets by received instead of sent.
- Entering a percentage in the received field.
- Mixing counts from different measurement windows.
- Treating a low average loss rate as proof there are no bursts.
- Forgetting that retransmissions can hide loss from applications.
Try it yourself
Quick checks. Answers sit tucked under each question.
10,000 sent and 9,980 received. Loss rate?
0.200 percent, from 20 lost packets divided by 10,000.
100 sent and all received. Loss rate?
0.000 percent, with a delivery rate of 100.000 percent.
1,000 sent and 950 received. How many were lost?
50, giving a loss rate of 5.000 percent.
Questions
How is packet loss measured?
Usually as the percentage of sent packets that never arrive, often using ping style probes.
What causes packet loss?
Transmission errors, congestion and overloaded network equipment are common causes.
Is one percent loss noticeable?
It can be for real time voice or video, even if file transfers recover through retransmission.
Does TCP hide packet loss?
It retransmits lost packets, so applications may see delay rather than missing data.
Can received exceed sent?
No, so the tool rejects that input.
Is the loss rate the same as a loss probability?
Over one measurement window it is an estimate of that probability.
Sources
- University of Wisconsin and AT&T Labs, improving accuracy in end to end packet loss measurement
- Stanford Linear Accelerator Center, throughput versus packet loss
- Wikipedia, packet loss measurement and diagnosis