About this tool
Build a spec-correct Retry-After header in delay-seconds or IMF-fixdate form, with an exponential backoff schedule for 429 and 503 responses.
This calculator turns a wait you want to impose into a Retry-After field value that conforms to RFC 9110 section 10.2.3, where the grammar is strictly an HTTP-date or delay-seconds = 1*DIGIT. It renders both forms side by side, formats the date as an IMF-fixdate in GMT as required for senders by RFC 9110 section 5.6.7, and builds the exponential backoff table behind a 429 or 503 so each successive rejection pushes the client further out. It also parses a value you already have and tells you whether a client would accept it.
Open Retry-After Header Calculator on AltFTool — it loads instantly in your browser.
Enter the values you already know.
Fine-tune the options to match your scenario.
Read the result and use it in your planning or reporting.
Catches decimals, signs and unit suffixes that silently make the header unparseable.
Emits IMF-fixdate in GMT with fixed English day and month names, not a locale-dependent string.
Shows the capped, jittered schedule so a retry storm spreads out instead of arriving in lockstep.
Either a non-negative whole number of seconds, such as "Retry-After: 120", or an HTTP-date, such as "Retry-After: Wed, 21 Oct 2015 07:28:00 GMT". RFC 9110 defines delay-seconds as 1*DIGIT, so there is no unit suffix, no decimal point and no minus sign. A sender generating the date form must use IMF-fixdate in GMT.
Prefer seconds. A count of seconds is immune to clock skew between your server and the client, while a date is only correct if both clocks agree. Use the date form when you are announcing a fixed maintenance window whose end time is genuinely known in wall-clock terms.
No. RFC 6585 section 4, which defines 429 Too Many Requests, says the response can include Retry-After, not that it must. Sending it is strongly recommended, because without it a client has no signal other than guessing and will usually retry too soon.
Yes — it is valid and means the client may retry immediately. Because delay-seconds is defined as one or more digits, zero is expressible but a negative value is not. If your target time has already passed, clamp to 0 rather than sending a negative number, which a conforming client will discard as unparseable.
Add the Retry-After Header Calculatorwidget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/retry-after-header-calculator"
title="Retry-After Header Calculator — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/retry-after-header-calculator?utm_source=embed&utm_medium=widget">AltFTool — free online tools</a></p>