SLA Formula: How To Calculate SLA Attainment And Uptime

The SLA formula for tickets and uptime, worked through: business hours, paused clocks, blended priorities, a 99.9% downtime table, and Excel formulas.

How to calculate SLA

The SLA formula for tickets is attainment % = tickets that met the target ÷ eligible tickets × 100. For uptime, it's (minutes in the period − downtime minutes) ÷ minutes in the period × 100. The real work is the clock: business hours, pauses, and priorities.

From the team behind SherpaDesk, a helpdesk and PSA (professional services automation) a small IT team can run alone.

Who this isn't for

SRE teams computing error budgets or SLOs for production software.

The SLA Formula For Ticket Attainment

Attainment % = tickets that met the target ÷ eligible tickets × 100

Run it once for response and once for resolution; a ticket can meet one and miss the other.

Your contract or service policy decides which tickets count, for example by leaving out merged duplicates, spam, or out-of-scope work. Our SLA template has a place for those rules.

Example

Say 212 tickets closed in November. Your agreement excludes 5 duplicates and 3 spam tickets, leaving 204 eligible. 193 got a first response inside target: 193 ÷ 204 × 100 = 94.6%.

The breach rate is 100% − 94.6% = 5.4%. Whatever sampling rule your agreement sets, apply it every month. Open tickets already past target need a rule too; our helpdesk metrics guide covers tracking them.

Response And Resolution Time In Business Hours

If your targets run on business hours, so does the clock. One university IT desk clocks every SLA from 8:00 AM to 5:00 PM, Monday to Friday, excluding official holidays. With both ends on working days, elapsed business time is:

  1. Count working days from start date to end date, both included.
  2. Subtract one and multiply by your business day (9 hours for 8 to 5).
  3. Add the end day's business time up to the end timestamp.
  4. Subtract the start day's business time before the ticket arrived.

This assumes one continuous daily shift, with no lunch break or overnight shift. The spreadsheet formula also handles ends on weekends, holidays, or outside hours.

Spreadsheets do step 1 with NETWORKDAYS.INTL, which counts workdays between two dates, skipping weekends and listed holidays. Excel stores a date as a day count and a time as a fraction of a day, so multiply by 24 for hours.

NETWORKDAYS.INTL weekend argument, Excel and Google Sheets
Weekend argumentDays off
1 or omittedSaturday, Sunday
2Sunday, Monday
7Friday, Saturday
11Sunday only
17Saturday only
"0000011"Saturday, Sunday: seven digits from Monday, 1 = day off

Source: Microsoft and Google function docs, Dec 1, 2026.

Example

A P2 ticket arrives Friday at 4:30 PM; the first response goes out Monday at 9:15 AM. Business time is 30 minutes plus 1 hour 15 minutes: 1.75 hours, inside a 2-hour target.

A ticket logged at 7:00 PM starts its clock at the next opening, and a reply at 7:40 AM, before you open, adds no business time.

For averages across resolved tickets, see our mean time to resolution guide.

Pausing The Clock While You Wait On The Customer

The same university desk pauses the SLA timer when a ticket moves to Pending, On Hold, or Waiting on Customer, then resumes "where it left off".

With pauses:

Counted time = business hours elapsed − business hours paused

Measure each wait on the ticket's business calendar, then add the waits up. Subtracting calendar hours takes nights and weekends out twice.

Example

A ticket logged Monday at 10:00 AM is resolved Thursday at 11:00 AM: 28 business hours on an 8-to-5 day. It waited on the customer from Tuesday 9:00 AM to Wednesday 2:00 PM, 14 business hours. Counted time is 28 − 14 = 14, inside an 18-hour target. Without a pause clause, it misses.

As a check, compare counted time with total elapsed business time. Our SLA management guide covers which waits should pause the clock.

Blended SLA Across Priorities: Weighted vs Simple Average

A blended figure rolls every priority into one number, and two methods can disagree.

  • Weighted (by ticket): total met ÷ total eligible. Every ticket counts once.
  • Simple average: the mean of each priority's percentage. Every priority counts once.

Weight the goal the same way: Σ(eligible × goal) ÷ total eligible, or the plain mean of the goals.

Response attainment for one month, by priority
PriorityEligibleMetAttainmentGoal
P14375.0%90%
P2403895.0%95%
P316015295.0%90%
Weighted20419394.6%91.0%
Simple average——88.3%91.7%

Weighted, 94.6% passes its 91.0% goal. The simple average, 88.3%, fails its 91.7% goal. Same month, opposite verdicts.

Neither shows the real problem: P1 met 3 of 4 against a 90% goal. With four tickets, one miss costs 25 points.

A blended figure can hide a failing priority.

Use the weighted figure when the agreement scores all tickets together, and calculate each priority separately too. If every priority must pass, neither aggregate settles it.

Uptime SLA: Allowed Downtime From 99% To 99.99%

Uptime % = (period minutes − downtime minutes) ÷ period minutes × 100. Allowed downtime = (1 − target as a decimal) × period minutes; 99.9% = 0.999. Both assume 24/7 measurement, with downtime as the sum of outages, overlaps counted once. The table uses a 30-day month (43,200 minutes) and a 365-day year (525,600 minutes).

Allowed downtime by uptime target
Uptime targetPer month, minutesPer monthPer year
99%4327 h 12 min87 h 36 min
99.5%2163 h 36 min43 h 48 min
99.9%43.243 min 12 s8 h 45 min 36 s
99.95%21.621 min 36 s4 h 22 min 48 s
99.99%4.324 min 19.2 s52 min 33.6 s

A 31-day month has 44,640 minutes. The table and calculator use the full period. If your agreement excludes maintenance, remove those minutes first: 120 excluded minutes leave 43,080, and 99.9% allows 43.08.

Allowed downtime for your uptime target

43.2minutes of downtime allowed

Your numbers stay in the browser.

Example: a 50-minute outage in a 30-day month gives (43,200 − 50) ÷ 43,200 = 99.884%, missing a 99.9% target by 6.8 minutes.

Copy The SLA Formulas For Excel And Google Sheets

Excel and Google Sheets document NETWORKDAYS.INTL with the same arguments. Put one eligible ticket per row from row 2 and fill down. The block assumes one shared calendar, so put 24/7 priorities on a separate sheet with hours = (end − start) × 24. It uses Monday–Friday (code 1); for other weekends, change the third argument in every NETWORKDAYS.INTL call (see the weekend-code table).

Excel and Google Sheets
SETTINGS
N1 = day start (8:00)   N2 = day end (17:00)   N4:N20 = holiday dates

ONE ELIGIBLE TICKET PER ROW (leave out what your agreement excludes)
B = priority (P1, P2, P3)   C = logged   D = first response   E = resolved
F = resolution paused business hours   G = response target, hours   H = resolution target, hours

I2  business hours to first response
=IF(D2="","",((NETWORKDAYS.INTL(C2,D2,1,$N$4:$N$20)-1)*($N$2-$N$1)+IF(NETWORKDAYS.INTL(D2,D2,1,$N$4:$N$20),MEDIAN(MOD(D2,1),$N$2,$N$1),$N$2)-MEDIAN(NETWORKDAYS.INTL(C2,C2,1,$N$4:$N$20)*MOD(C2,1),$N$2,$N$1))*24)

J2  business hours to resolution, minus paused hours
=IF(E2="","",((NETWORKDAYS.INTL(C2,E2,1,$N$4:$N$20)-1)*($N$2-$N$1)+IF(NETWORKDAYS.INTL(E2,E2,1,$N$4:$N$20),MEDIAN(MOD(E2,1),$N$2,$N$1),$N$2)-MEDIAN(NETWORKDAYS.INTL(C2,C2,1,$N$4:$N$20)*MOD(C2,1),$N$2,$N$1))*24-F2)

K2  response met = 1, missed = 0
=IF(I2="","",IF(ROUND(I2*3600,0)<=G2*3600,1,0))

L2  resolution met = 1, missed = 0
=IF(J2="","",IF(ROUND(J2*3600,0)<=H2*3600,1,0))

ATTAINMENT (rows 2 to 205)
Response, weighted
=SUM(K2:K205)/COUNT(K2:K205)
Resolution, weighted
=SUM(L2:L205)/COUNT(L2:L205)
Response, P1 only
=COUNTIFS(B2:B205,"P1",K2:K205,1)/COUNTIFS(B2:B205,"P1",K2:K205,">=0")
Blended goal: eligible per priority in R2:R4, goals in S2:S4
=SUMPRODUCT(R2:R4,S2:S4)/SUM(R2:R4)

UPTIME % (T1 = days in period, T2 = downtime minutes)
=(T1*1440-T2)/(T1*1440)

I2 follows the four steps: (working days − 1) × day length, plus the clamped end time, minus the clamped start time. Enter timestamps as dates with times, not text. Column F holds resolution pauses only: run the I2 formula on each wait and add the results. The response formula subtracts none. Check that each end follows its start and that F is no larger than elapsed hours. A blank D or E scores nothing.

The sheet assumes timestamps and targets in whole seconds. K and L compare to the whole second, so a reply at 10:00:01 to an 8:00 ticket misses a 2-hour target. Format attainment, goal, and uptime cells as percentages. Test it: logged Friday 4:30 PM, answered Monday 9:15 AM, no holiday between, I2 shows 1.75.

Subscribe to the SherpaDesk Blog.
Get Tips for Running IT With a Small Team.

Loading form…

Track SLA Clocks Without A Spare Person

How this works in SherpaDesk

Check SLA timing on each ticket

Each priority gets a response goal and a completion goal with a goal %, on business hours and holidays you define. If you enable the option, Waiting On Response pauses the SLA clock. Each ticket shows SLA Due By, Waited, and Completion.

Reports > SLA & Priority gives On-Time and Goal vs. Actual reports for closed tickets, by response or completion. Without a priority grouping or filter, the report compares against a system-generated blended goal, so group or filter by priority. SLAs are set per priority, not per account or contract, and nothing SLA-related is client-facing.

A helpdesk and PSA a small IT team can run alone.

SLA reporting is on every plan. Base Camp is $45 per agent per month ($40 billed annually). The first agent is free, forever. 14 days free, no card.

See Ticket Management In SherpaDesk

Frequently Asked Questions

How is SLA calculated?

For tickets, met ÷ eligible × 100, once for response and once for resolution. For uptime, divide minutes up by minutes in the period.

How do you calculate SLA percentage?

Met ÷ eligible × 100: 193 of 204 eligible tickets answered inside target is 94.6%. Across priorities, see the blended example.

How do you calculate SLA in Excel?

Count working days with NETWORKDAYS.INTL, clamp times to your business day with MEDIAN and MOD, multiply by 24, then score each ticket 1 or 0 and average. See the formula block.

What does 99.9% uptime mean in downtime?

43.2 minutes in a 30-day month, or 8 hours 45 minutes 36 seconds in a 365-day year. See the uptime table.

How do I count paused time in an SLA calculation?

Subtract the paused business hours from elapsed business hours, but only if your agreement pauses the clock. Some service desks pause the timer while a ticket waits on the customer. See the pause example.

About the author
Patrick Clements Co-founder & CEO, SherpaDesk

Patrick co-founded SherpaDesk and has led it as CEO since 2013. He has worked with IT service providers since 1998, first on network projects for schools and government offices, then on the helpdesk software their technicians use every day.

Published Dec 1, 2026 by

Run a help desk your clients can set their watch by

Tickets, SLAs, time tracking and invoicing in one place. Your first agent is free, with no contract.