CalcWorldHub
Free online calculator · no signup

Stop-and-wait ARQ goodput with timeout calculator

Estimate the delivered payload rate of a non-pipelined link whose failed attempts consume a specified retransmission timeout.

4,000 tools
Stop-and-wait ARQ goodput with timeout calculator — Useful bits per data frame, Other transmitted data-frame bits, Forward bit rate (bit/s) and calculation method
Stop-and-wait ARQ goodput with timeout calculator: inputs and calculation method.

How to use this calculator

Estimate the delivered payload rate of a non-pipelined link whose failed attempts consume a specified retransmission timeout.

  1. Enter Useful bits per data frame, Other transmitted data-frame bits, Forward bit rate (bit/s), Acknowledgment serialization and processing (s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Stop-and-wait ARQ goodput with timeout explained

Use Useful bits per data frame with Other transmitted data-frame bits to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.

Delivered payload goodput229226.361bit/s
Delivered payload goodput: 229226.361032 bit/s in the worked scenario.

A numerical walkthrough

Useful bits per data frame = 8000; Other transmitted data-frame bits = 320; Forward bit rate (bit/s) = 1000000; Acknowledgment serialization and processing (s) = 0.0001; Round-trip propagation time (s) = 0.02; Probability one full transaction fails = 0.1; Timeout measured from end of data send (s) = 0.05.

  • Delivered payload goodput: 229226.361032 bit/s
  • Mean time to one acknowledged payload: 0.0349 s
  • Mean transmission attempts: 1.111111 attempts

An 8000-bit payload at 1 Mbit/s waits 20 ms round-trip propagation for each acknowledgment; a ten-percent failure rate wastes additional 50 ms timeout intervals.

The model behind the numbers

E[T]=T_SUCCESS+[p_FAIL/(1−p_FAIL)]T_FAILED; T_SUCCESS=T_TX+RTT_PROP+T_ACK; T_FAILED=T_TX+T_TIMEOUT; goodput=L_PAYLOAD/E[T].

A geometric number of failed attempts precedes one success. The timeout starts after the data frame finishes transmitting, which makes its reference point explicit.

What to enter

payload — Useful bits per data frame
Application payload delivered by a successfully acknowledged frame. Enter a whole number.
overhead — Other transmitted data-frame bits
Header, check and framing bits sent with each payload. Enter a whole number.
rate — Forward bit rate (bit/s)
Serialization rate of each data attempt.
ack — Acknowledgment serialization and processing (s)
ACK duration plus fixed processing after reception.
roundtrip — Round-trip propagation time (s)
Propagation only, excluding serialization and ACK processing.
fail — Probability one full transaction fails
Independent failure probability including data or acknowledgment loss.
timeout — Timeout measured from end of data send (s)
Wait after a failed data attempt before retransmission; must cover ordinary success acknowledgment time.

Interpreting the result

Independent identical transaction outcomes, unlimited retries and no pipelining. Early negative acknowledgments, bounded retry limits and correlated failures need another model.

Reading the outputs

Goodput excludes framing overhead and failed copies. The mean attempt count includes the final successful attempt.

Frequently asked questions

Is this the same as TCP window throughput?

No; this model allows exactly one outstanding frame and has no congestion window.

Can BER be entered as transaction failure probability?

No; first translate bit errors into full-frame and ACK failure probability under an appropriate channel model.

Why must timeout cover the normal ACK wait?

Otherwise success can be retransmitted prematurely, contradicting the geometric transaction model.

How do I use the Stop-and-wait ARQ goodput with timeout calculator?

Enter Useful bits per data frame, Other transmitted data-frame bits, Forward bit rate (bit/s), Acknowledgment serialization and processing (s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Stop-and-wait ARQ goodput with timeout?

Useful bits per data frame = 8000; Other transmitted data-frame bits = 320; Forward bit rate (bit/s) = 1000000; Acknowledgment serialization and processing (s) = 0.0001; Round-trip propagation time (s) = 0.02; Probability one full transaction fails = 0.1; Timeout measured from end of data send (s) = 0.05. Delivered payload goodput: 229226.361032 bit/s Mean time to one acknowledged payload: 0.0349 s Mean transmission attempts: 1.111111 attempts An 8000-bit payload at 1 Mbit/s waits 20 ms round-trip propagation for each acknowledgment; a ten-percent failure rate wastes additional 50 ms timeout intervals.