Certificate Expiry Calculator
Work out TLS certificate renewal dates and how many renewals a year a given validity period and lead time require.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Certificate Expiry Calculator does
Use this certificate expiry calculator to work out TLS certificate renewal dates and how many renewals a year a given validity period and lead time require. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for setting a renewal lead time for a certificate fleet. If you want to cross-check the result, there is another certificate expiry calculator on FreeToolStation.org.
How to use it
- Enter the certificate validity period in days.
- Enter how many days before expiry you want to renew — aim for about a third of the validity.
- Enter how many certificates you manage and how long a manual renewal takes.
- Read the renewal interval and the annual workload, then check the lead-time assessment.
How it works
Public TLS certificate lifetimes have been shortening steadily. The CA/Browser Forum maximum fell to 398 days in September 2020, and Let's Encrypt has issued 90-day certificates since it launched, specifically to force automation — a 90-day certificate cannot realistically be renewed by hand at scale, which was the point. The direction of travel is towards shorter still, so any process that depends on a person remembering is on borrowed time.
Renewal frequency is driven by the gap between validity and lead time, not by validity alone. A 90-day certificate renewed 30 days early is renewed every 60 days, which is about 6.1 times a year rather than 4.1. Shortening the lead time reduces the renewal count but eats the buffer you have to recover from a failure, and the buffer is what the lead time is for.
A third of the validity period is a reasonable buffer. It survives a failed renewal, a weekend, and someone being on leave — which is the realistic failure mode, since certificate expiry outages are almost never caused by the cryptography and almost always by a renewal that silently failed and nobody checked. Let's Encrypt's own clients default to renewing at 30 days remaining on a 90-day certificate, which is exactly that third.
The honest conclusion for most fleets is automation rather than a better spreadsheet. ACME clients renew unattended and can reload the server afterwards, which removes the human from the loop entirely. Where automation is genuinely impossible — an appliance with no ACME support, a certificate pinned into a mobile app — the compensating control is monitoring that alerts on days remaining, independently of whatever is supposed to be doing the renewing.
When to use it
- Setting a renewal lead time for a certificate fleet.
- Making the case for ACME automation with an hours-per-year figure.
- Planning a renewal calendar for appliances that cannot automate.
- Checking whether a short lead time leaves enough recovery buffer.
Common mistakes to avoid
- Calculating renewals from the validity period alone and forgetting the lead time, which understates the frequency.
- Setting a lead time of a few days. One failed renewal over a weekend then becomes an outage.
- Relying on the renewal process to tell you it failed. Monitor days-remaining separately, from outside the renewal system.
Frequently asked questions
How often do I need to renew a 90-day certificate?
Roughly every 60 days if you renew 30 days before expiry, which works out to about 6.1 renewals a year rather than the 4.1 the validity period alone would suggest.
What lead time should I use?
About a third of the validity period — 30 days on a 90-day certificate. That survives a failed renewal attempt, a weekend and someone being away, which covers the realistic failure modes.
Why are certificate lifetimes getting shorter?
Shorter lifetimes limit the damage from a key compromise or a mis-issued certificate, because revocation checking has never worked reliably in practice. The trade-off is that renewal has to be automated, which is itself considered a security improvement.