跳转到主要内容

丢包影响计算器

根据丢包率和TCP窗口大小估算TCP吞吐量的下降情况。

Inputs

Available bandwidth without packet loss

Packet loss rate from 0% to 100%

RTT in milliseconds (affects TCP throughput)

Packet Loss Impact

Results will appear here.

Even small amounts of packet loss have a disproportionately large impact on TCP throughput because TCP's congestion control algorithm responds aggressively to dropped packets. A network showing 1% packet loss might intuitively seem to deliver 99% of its theoretical bandwidth, but in practice TCP throughput can fall to a small fraction of link capacity — a fact that surprises many engineers the first time they encounter it.

This tool uses the Mathis formula to estimate steady-state TCP throughput given a packet loss rate and RTT, helping you quantify the real-world impact of a degraded network path and set expectations for application performance under adverse conditions.

如何计算网络丢包率

  1. 1

    输入数据包统计

    输入发送的数据包总数和成功接收(或丢失)的数据包数量。可以从 ping 命令或网络监控工具的输出中获取这些数据。

  2. 2

    计算丢包率

    工具即时计算丢包百分比,并根据行业标准评估网络质量等级。

  3. 3

    查看质量评估

    查看丢包率对不同应用(VoIP、视频流、文件传输、网页浏览)影响的评估,以及改善网络质量的建议。

How Packet Loss Degrades TCP Throughput

The Mathis equation models TCP throughput as proportional to (MSS / RTT) × (1 / sqrt(p)), where p is the packet loss probability and MSS is the maximum segment size. This inverse-square-root relationship means throughput falls sharply as loss increases: at 1% loss on a 100 ms RTT path with 1460-byte MSS, achievable throughput drops to roughly 1.5 Mbps regardless of link capacity.

This sensitivity arises because each lost packet triggers a timeout or fast retransmit event, halving the congestion window. TCP must then slowly grow the window again via slow start or congestion avoidance. Modern TCP variants (CUBIC, BBR) handle some scenarios more gracefully, but all TCP implementations are fundamentally impaired by persistent packet loss.

为什么选择 FileCrank 丢包率计算器

  • ✓ 根据发送和接收数据包数量计算丢包百分比
  • ✓ 提供基于行业标准的网络质量等级评估
  • ✓ 分析丢包率对不同应用类型的影响
  • ✓ 完全在浏览器中运行——不传输数据
  • ✓ 免费使用,适用于网络故障排查和质量评估

功能与规格

最大文件大小
最大 100 MB
隐私
文件在约一小时后删除
价格
免费,无需注册
处理方式
服务器端
Processing
100% client-side
Formula used
Mathis formula (TCP performance)
Input parameters
Packet loss rate, TCP window size, RTT
Cost
Free — no limits
计算在您的浏览器中本地完成——不向服务器发送数据。无需注册。免费——无隐藏费用。

常见问题

How do I use the Packet Loss Calculator?

Enter the packet loss rate (as a percentage) and TCP window size (in bytes). The tool instantly calculates the estimated throughput reduction caused by packet loss.

What is packet loss?

Packet loss occurs when data packets fail to reach their destination. It is caused by network congestion, hardware failures, or poor link quality. Even small packet loss rates (1–2%) can significantly degrade throughput.

How does packet loss affect TCP throughput?

TCP responds to packet loss by reducing the transmission rate (congestion control). The Mathis formula estimates this reduction: throughput ≈ (window size) / (RTT × √packet_loss_rate). Higher loss = lower throughput.

What is an acceptable packet loss rate?

< 0.1% packet loss is excellent for most applications. 0.1–1% is acceptable for video streaming. 1–5% causes noticeable quality degradation. > 5% is poor and requires troubleshooting.

Does the calculator send my network data anywhere?

No. All packet loss calculations run entirely in your browser using the Mathis formula. Your network parameters never contact any server.

How can I reduce packet loss on my network?

Check link quality (run ping), reduce network congestion, upgrade hardware, use Quality of Service (QoS) prioritization, and consider redundant paths or faster links. Use this calculator to quantify the impact of improvements.

Packet Loss Calculator vs. iperf3

iperf3 measures actual throughput empirically by sending real traffic, which is the most accurate method but requires access to both endpoints and permission to generate test traffic. This calculator provides a theoretical estimate using only packet loss rate and RTT — values you can obtain from a simple ping — making it useful for quick capacity assessments and explaining to stakeholders why a link is underperforming.

FileCrank 丢包率计算器根据发送和接收数据包数量计算丢包百分比,并提供基于行业标准的网络质量评估。计算在浏览器本地完成,不存储数据。免费使用,无需账户。

Advertisement

Ad