Dev tools

SLO vs SLA vs SLI: Reliability Targets Explained

SLO vs SLA explained with SLIs: what each one is, real examples, error budget maths, burn rate alerts and how to set targets you can actually meet.

By OmniAI Editorial · Nov 22, 2026 · 15 min read

In SLO vs SLA, the difference is who the promise is for and what happens if you miss it. An SLO (service level objective) is an internal reliability target, such as "99.9% of requests succeed over 30 days". An SLA (service level agreement) is a contract with customers that includes consequences, usually service credits, if a promised level isn't met. Both are measured with an SLI (service level indicator), the actual metric, such as the share of requests that succeed.

Put simply, the SLI is what you measure, the SLO is the target you aim for, and the SLA is what you legally promise. A good setup keeps the SLO stricter than the SLA, so the team reacts long before customers are owed money. This guide goes past the definitions. It covers SLA vs SLO vs SLI examples for different services, error budget maths, burn rate alerting, a worked example with real numbers, a real cloud SLA and the mistakes that make SLOs useless.

SLO vs SLA vs SLI at a Glance

SLISLOSLA
Stands forService level indicatorService level objectiveService level agreement
What it isA measurementA target for a measurementA contract with consequences
Example99.95% of requests succeeded this month99.9% of requests succeed over 30 days99.5% monthly uptime or 10% service credit
AudienceEngineersEngineering and product teamsCustomers, sales, legal
Who sets itEngineers choose what to measureProduct and engineering togetherBusiness, legal and leadership
If missedNothing; it's just dataTeam slows releases and fixes reliability (error budget policy)Credits, refunds or contract penalties
Typical strictnessn/aStricter than the SLALooser than the SLO

Google's Site Reliability Engineering book gives a simple test to tell an SLO from an SLA. Ask "what happens if the SLOs aren't met?" If there is no explicit consequence, you are almost certainly looking at an SLO.

What Is an SLI?

A service level indicator is a carefully defined, quantitative measure of some aspect of the service users receive. The SRE book names request latency as the most common SLI, alongside error rate, throughput and availability.

The most useful way to write an SLI is as a ratio of good events to valid events:

SLI = good events ÷ valid events × 100%

  • Availability: successful HTTP responses (not 5xx) ÷ all valid requests.
  • Latency: requests served faster than 300 ms ÷ all valid requests.
  • Freshness: reads that return data updated within the last minute ÷ all reads.
  • Correctness: pipeline outputs that pass validation ÷ all outputs.
  • Throughput or completion: batch jobs finished within their window ÷ all scheduled jobs.

Ratios work well because they always run from 0% to 100%, they read the same way for every service, and they turn straight into an error budget.

Where you measure matters. An SLI measured at the load balancer sees requests the servers never received. One measured inside the server misses failures in the network or the load balancer. Synthetic probes and real-user monitoring see what users see but are noisier. Pick the point closest to the user that you can measure reliably, and write it down.

What Is an SLO?

A service level objective is a target value or range for an SLI, over a time window. The SRE book's structure is: SLI ≤ target, or lower bound ≤ SLI ≤ upper bound.

A complete SLO has four parts:

  1. The SLI: what is measured and where.
  2. The target: for example 99.9%.
  3. The window: usually a rolling 28 or 30 days.
  4. The scope: which requests, users or regions count. Health checks and requests from internal test traffic are usually excluded.

Example: "99.9% of valid checkout API requests, measured at the load balancer, return a non-5xx response within 1 second, over a rolling 30 days."

SLOs are an engineering and product decision. They say how reliable the service needs to be for users to be happy. They don't say how reliable it can possibly be. 100% is the wrong target for almost everything. Users can't tell the difference between 99.99% and 100% when their own Wi-Fi and phone fail more often than that, and chasing the last fraction of a percent stops all other work.

What Is an SLA?

A service level agreement is an explicit or implicit contract with users that includes consequences of meeting or missing the SLOs it contains. The consequences are usually financial, such as credits or refunds, but they can include the right to terminate a contract.

A real example: Amazon EC2's published SLA makes two commitments. The Region-Level SLA promises a Monthly Uptime Percentage of at least 99.99% for EC2 deployed across two or more Availability Zones. If it falls short, customers get a 10% service credit for 99.0% to 99.99%, 30% for 95.0% to 99.0%, and 100% below 95.0%. The Instance-Level SLA promises 99.5% for each individual instance, with the same credit steps. Credits apply to future bills and must usually be requested.

That example shows typical SLA features:

  • Narrow definitions. "Unavailable" is defined precisely, and many causes are excluded, such as customer misconfiguration, scheduled maintenance and force majeure.
  • Credits, not damages. The penalty is a percentage of that service's bill, not your lost revenue.
  • Architecture conditions. The stronger promise applies only if you deploy across zones.

SRE teams don't usually write SLAs. Legal and business teams do. But engineers should make sure every SLA is backed by a stricter internal SLO, or the company is promising something it doesn't measure.

SLO vs SLA: The Key Differences

A long grey horizontal bar crossed by three dotted vertical lines: an ink line on the left, a grey line in the middle and a light line on the right, with the bar between the ink and grey lines filled orange.
The SLO sits above the SLA, leaving a safety margin before contract penalties apply.

The differences between SLO vs SLA come down to five points:

  1. Internal vs external. SLOs are for the team; SLAs are for customers.
  2. Consequences. Missing an SLO triggers an internal response; missing an SLA costs money.
  3. Strictness. The SLO should be stricter, so the team has a buffer. If your SLA is 99.5%, an internal SLO of 99.9% gives you room to notice and fix problems first.
  4. Who writes them. Engineers and product managers set SLOs; legal and sales negotiate SLAs.
  5. How often they change. SLOs are reviewed every quarter or so as you learn. SLAs change only with new contracts.

Not every service needs an SLA. Free products and internal services usually have none. But every important service benefits from SLOs, because they turn "is it reliable enough?" into a number the team can act on.

SLA vs SLO vs SLI Examples

Here are SLA vs SLO vs SLI examples for common types of service. The SLA column is illustrative, since many internal services have no SLA at all.

ServiceSLISLOPossible SLA
Public REST APIShare of requests returning non-5xx within 1 s99.9% over 30 days99.5% monthly; 10% credit below, 25% below 99%
Checkout pageShare of page loads with Largest Contentful Paint under 2.5 s95% over 28 daysNone (internal target)
Login serviceShare of login attempts that succeed or fail for valid reasons (not errors)99.95% over 30 daysCovered by the product's overall SLA
Data pipelineShare of daily reports delivered by 07:0099% of days per quarter98% on-time delivery or credit
Object storageShare of read requests that succeed99.99% over 30 days99.9% monthly with tiered credits
Video streamingShare of playback starts under 2 s99% over 7 daysNone
Support deskShare of urgent tickets answered within 1 hour95% per month90% per month in enterprise contracts

For web pages, Google's Core Web Vitals thresholds make good latency SLIs, because they track what users feel. Our guide to Core Web Vitals explains the metrics.

Error Budgets

What is error budget, exactly?

An error budget is the amount of unreliability your SLO allows: error budget = 100% − SLO target. With a 99.9% availability SLO, 0.1% of requests (or of time) can fail before the SLO is breached. The budget turns the target into something you can spend, on risky releases, experiments and planned maintenance.

Here's what common targets allow:

SLO targetError budgetAllowed downtime per 30 daysAllowed downtime per year
99%1%7 hours 12 minutesabout 3.65 days
99.5%0.5%3 hours 36 minutesabout 1.83 days
99.9%0.1%43.2 minutesabout 8.76 hours
99.95%0.05%21.6 minutesabout 4.38 hours
99.99%0.01%4.32 minutesabout 52.6 minutes
99.999%0.001%about 26 secondsabout 5.26 minutes

For request-based SLIs, think in failed requests rather than minutes. At 50 million requests a month and a 99.9% SLO, the budget is 50,000 failed requests.

Error budget policy

The budget only works with an agreed policy for what happens when it runs low. A typical error budget policy:

  • Budget healthy: release as normal, run experiments, do planned risky work.
  • Budget below 50% mid-window: extra review for risky changes, prioritise known reliability fixes.
  • Budget exhausted: freeze feature releases except urgent fixes, and put the team on reliability work until the SLI recovers.
  • Single incident uses over 20% of budget: write a postmortem with action items.

Write the policy down and get product leadership to sign it before you need it. Agreeing on a release freeze in the middle of an incident rarely works.

Error Budget and Burn Rate

A grey chart panel with a dotted ink baseline, a gentle light line sloping down from the top left and a steep ink line dropping from the same point to an orange dot near the baseline.
Burn rate is how fast the error budget is being used; a steep slope means you'll run out early.

The link between error budget and burn rate is what makes SLOs useful for alerting. Burn rate is how fast you are using up the budget compared to the rate that would use it up exactly by the end of the window.

Burn rate = observed error rate ÷ error rate allowed by the SLO

  • With a 99.9% SLO, the allowed error rate is 0.1%.
  • An error rate of 0.1% is a burn rate of 1: the budget lasts exactly 30 days.
  • An error rate of 1.44% is a burn rate of 14.4: in one hour you use 14.4 ÷ 720 hours = 2% of the monthly budget, and the whole budget would be gone in about two days.

Alerting on burn rate pages people for problems that threaten the SLO and ignores brief blips. Google's SRE Workbook recommends multiwindow, multi-burn-rate alerts as a starting point for a 99.9% SLO:

SeverityLong windowShort windowBurn rateBudget used when it fires
Page1 hour5 minutes14.42%
Page6 hours30 minutes65%
Ticket3 days6 hours110%

An alert fires only when both windows exceed the burn rate. The long window shows the problem is real and significant, and the short window shows it is still happening, so the alert clears soon after a fix. In Prometheus, the first page rule from the workbook looks like this, where the recording rules hold the error ratio over each window:

(
  job:slo_errors_per_request:ratio_rate1h{job="myjob"} > (14.4*0.001)
and
  job:slo_errors_per_request:ratio_rate5m{job="myjob"} > (14.4*0.001)
)

A Worked Example: Payment API

A payments team runs an API that handles about 50 million requests per 30 days.

  • SLIs: availability (non-5xx responses ÷ valid requests) and latency (requests under 300 ms ÷ valid requests), both measured at the load balancer.
  • SLOs: 99.9% availability and 99% of requests under 300 ms, over a rolling 30 days.
  • SLA to customers: 99.5% monthly availability, with service credits below that.
  • Error budget: 0.1% of 50 million = 50,000 failed requests per 30 days.

Now two incidents in one month:

  1. A slow database failover causes 0.5% errors for 2 hours. Requests in 2 hours ≈ 50,000,000 ÷ 720 × 2 ≈ 138,900. Failed ≈ 694, about 1.4% of the budget. Burn rate is 0.5% ÷ 0.1% = 5, below the 14.4 page threshold for the 1-hour window. Averaged over 6 hours it is about 1.7, below the 6 threshold, and over 3 days it's well under 1, so no alert fires. That is the right outcome for a short, mild problem that cost little budget.
  2. A bad deploy returns errors for 20% of requests for 30 minutes before rollback. Requests ≈ 34,700; failed ≈ 6,940, about 13.9% of the budget. Burn rate is 200, so the page fires within minutes, from the 5-minute and 1-hour windows together.

After both, the team has used about 15% of its monthly budget. It's still well inside the SLO and far from the 99.5% SLA. The postmortem for the deploy leads to safer rollouts. Gradual traffic shifting such as blue green deployment or canaries would have capped the damage at a fraction of traffic.

A few other acronyms appear next to these:

  • SLT (service level target): another name for the target inside an SLO; some teams use it instead of SLO.
  • OLA (operational level agreement): an agreement between internal teams that supports an SLA. For example, the database team commits to a restore time so the product team can meet its customer SLA.
  • KPI (key performance indicator): a business metric such as revenue, churn or sign-ups. An SLI can be a KPI, but most KPIs are not about service reliability.
  • MTTR and MTBF: mean time to recovery and between failures. They're useful for incident reviews, but they don't replace user-centred SLIs.

The live SRE practice these fit into is covered in our guide to site reliability engineering.

How to Set Your First SLOs

  1. List the user journeys that matter: sign in, search, checkout, upload, API calls.
  2. Pick one or two SLIs per journey: usually availability and latency, written as good ÷ valid.
  3. Measure for a few weeks before setting targets. Look at what the service actually does today.
  4. Set the target slightly below current performance if users are happy, or above it if they aren't. Don't promise reliability you've never achieved.
  5. Choose a rolling window of 28 or 30 days.
  6. Write the error budget policy and agree it with product leadership.
  7. Alert on burn rate, not on raw thresholds.
  8. Review quarterly: tighten SLOs that are always met easily, and loosen ones that page people without users noticing.
  9. Check SLAs against SLOs: every SLA number should sit comfortably below its matching SLO.

Common Mistakes

  • Setting SLOs at 100% or at too many nines. Each extra nine costs far more effort and leaves almost no budget for change.
  • Measuring what's easy instead of what users feel. CPU usage and server uptime are not SLIs; failed checkouts are.
  • Too many SLOs. Two to four per service is plenty. Dozens make none of them matter.
  • SLA equal to SLO. With no buffer, every SLO miss is a contract breach.
  • No error budget policy. Without agreed consequences, SLOs become dashboards nobody acts on.
  • Averages for latency. Use percentiles or "share of requests under X ms"; averages hide the slow tail that users notice.
  • Copying another company's targets. Your users, architecture and dependencies set the right number.

FAQ

What is SLI SLO and SLA in simple terms?

An SLI is the measurement, such as the percentage of requests that succeed. An SLO is the target for that measurement, such as 99.9% over 30 days. An SLA is a contract that promises customers a level of service and states what they get if it's missed.

Should the SLO be higher than the SLA?

Yes. The SLO should be stricter than the SLA so the team gets warned and can fix problems before contract penalties apply. A common pattern is an internal 99.9% SLO behind a 99.5% customer SLA.

How is an error budget calculated?

Subtract the SLO target from 100%. A 99.9% SLO leaves a 0.1% error budget, which is about 43 minutes of full downtime per 30 days, or 0.1% of requests if the SLI counts requests.

What is a good SLO target?

It depends on what users need and what the service achieves today. Many user-facing services use 99.9% for availability, while internal tools and batch jobs often use 99% or 99.5%. Start from measured performance and user feedback, not from a round number.

Do internal services need SLAs?

Usually not. Internal services benefit from SLOs, and sometimes from operational level agreements between teams. Formal SLAs with financial consequences are mostly for paying customers.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog