HTTP Status Code Reference
Last updated: 28 June 2026
Reviewed by Gavin Meiring, Lead research and primary author ยท Doctoral Candidate (Corporate Governance) ยท Research and drafting assisted by AI
- HTTP error code 418 'I'm a Teapot' is real: it comes from RFC 2324 (1998), an April Fools' Day joke defining the Hyper Text Coffee Pot Control Protocol โ and it is still officially reserved.
- Error code 451 'Unavailable for Legal Reasons' was added to HTTP in 2015 and named after Ray Bradbury's dystopian novel 'Fahrenheit 451' โ the temperature at which paper burns.
- HTTP status codes were born with the web itself: they arrived with HTTP/1.0 in the early 1990s, and 404 'Not Found' has been serving up missing pages since the web's first years at CERN.
HTTP Status Code Reference
An HTTP status code reference helps developers, testers, and site owners quickly identify what a server's response code means and how to fix it. This tool lists all standard HTTP status codes with explanations, grouped by class, so you can diagnose issues in APIs, websites, and web applications without memorising every code.
How to Use the HTTP Status Reference
- Find the status code returned by your browser, API client, or server logs.
- Locate the code in the reference list, either by scrolling through the class groups or using the search filter.
- Read the explanation to understand what condition the server is reporting.
- Follow the suggested action to resolve the issue, whether that is checking a URL, fixing authentication, or investigating server logs.
- Use the code descriptions when writing or documenting your own API responses.
The Formula
HTTP status codes follow a three-digit numbering scheme defined in RFC 7231. The first digit indicates the class of response:
- 1xx (Informational): The request was received and processing continues. Example: 100 Continue.
- 2xx (Success): The request was successfully received, understood, and accepted. Example: 200 OK, 201 Created, 204 No Content.
- 3xx (Redirection): Further action is needed to complete the request. Example: 301 Moved Permanently, 302 Found, 304 Not Modified.
- 4xx (Client Error): The request contains an error on the client's side. Example: 400 Bad Request, 401 Unauthorised, 403 Forbidden, 404 Not Found, 429 Too Many Requests.
- 5xx (Server Error): The server failed to fulfil a valid request. Example: 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable, 504 Gateway Timeout.
Each code carries a standard reason phrase, though servers may customise the response body with more detail.
Real-World Example
A user reports they cannot access a page on your website and sees a 404 error. Here is how to troubleshoot it:
- Confirm the URL is correct. A typo in the path produces a 404 because the server cannot find the resource at that address.
- Check whether the page was recently moved or deleted. If so, set up a 301 redirect from the old URL to the new one.
- If the page exists but the 404 persists, check server routing rules or
.htaccessconfiguration. - If the issue is a 500 error instead, open the server error logs. A 500 means the server encountered an unexpected condition, most often a code error, database connection failure, or misconfigured environment variable.
- A 503 during high traffic indicates the server is overloaded or down for maintenance. Scale your infrastructure or check your hosting provider's status page.
Common Status Codes at a Glance
The codes most frequently encountered in day-to-day web development:
- 200 OK: Standard success response for GET requests.
- 201 Created: A POST request successfully created a new resource.
- 204 No Content: Success, but the response body is intentionally empty (common for DELETE).
- 301 Moved Permanently: The resource has a new permanent URL. Browsers and search engines update their records.
- 302 Found: Temporary redirect. Search engines keep the original URL indexed.
- 304 Not Modified: Cached version is still valid; browser uses its local copy.
- 400 Bad Request: The server cannot parse the request due to malformed syntax.
- 401 Unauthorised: Authentication is required and has not been provided or failed.
- 403 Forbidden: The server understood the request but refuses to authorise it.
- 404 Not Found: The resource does not exist at the requested URL.
- 422 Unprocessable Entity: The request is well-formed but contains semantic errors (common in REST APIs).
- 429 Too Many Requests: Rate limit exceeded; retry after the time indicated in the Retry-After header.
- 500 Internal Server Error: A generic server-side failure.
- 502 Bad Gateway: A proxy or gateway received an invalid response from an upstream server.
- 503 Service Unavailable: The server is temporarily unable to handle the request.
Frequently Asked Questions
What is the difference between 401 and 403? A 401 Unauthorised means the client is not authenticated; it needs to provide valid credentials (such as a login token) to proceed. A 403 Forbidden means the server knows who the client is but refuses to grant access, typically because the user lacks the required permissions for that resource.
Why does Google show a 301 redirect instead of a 302 for permanent moves? Search engines treat 301 and 308 redirects as permanent and transfer the original page's SEO authority (link equity) to the new URL. A 302 or 307 is treated as temporary, so search engines keep the original URL indexed rather than updating it to the new destination. Always use 301 for permanent moves to preserve search rankings.
What causes a 502 Bad Gateway error? A 502 occurs when a server acting as a gateway or proxy (such as Nginx or a load balancer) receives an invalid or no response from an upstream server (such as a Node.js app or Python backend). Common causes include the upstream process crashing, a misconfigured proxy pass directive, or the upstream server being overloaded.
Can I create custom HTTP status codes? The HTTP specification reserves codes in the 1xx to 5xx range with defined semantics. You should not invent codes outside the standard unless using the 4xx or 5xx ranges with unofficial extensions. Most APIs use standard codes and include additional detail in the JSON response body, for example an error field with a human-readable message.
Understanding the Http Status
The Http Status is one of the most-requested tools in the http status category because it condenses a calculation that would otherwise require manual work, a spreadsheet, or a specialist program into a single input-and-output step. whether you are a student, a professional, or a curious learner, the Http Status is designed to deliver a quick and trustworthy answer without forcing you to install anything or sign up for an account. Behind the scenes, the Http Status applies well-established mathematical or scientific formulas to the values you provide. the aim of Http Status is to remove the friction of hand calculation while still showing you the underlying method, so you can confidently interpret the result. Every calculation is performed locally in your browser, which means your inputs never leave your device.
When Should You Use the HTTP Status Code Reference?
Use the HTTP Status Code Reference whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the HTTP Status Code Reference include homework problems, workplace tasks, financial planning, fitness or health tracking, and everyday curiosity. If the HTTP Status Code Reference answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional. The HTTP Status Code Reference is free to use, requires no sign-up, and works on any device with a modern browser. You can run the HTTP Status Code Reference as many times as you like, change the inputs, and compare results side by side.
Common Inputs and How to Choose Them
Most HTTP Status Code Reference problems revolve around a small set of inputs.
- Find the status code returned by your browser, API client, or server logs is usually the first value to pin down for the HTTP Status Code Reference.
- Locate the code in the reference list, either by scrolling through the class groups or using the search filter sets the context the HTTP Status Code Reference needs for a sensible result.
- Read the explanation to understand what condition the server is reporting refines the HTTP Status Code Reference output where the data is available. Identifying the right values is the most important step for the HTTP Status Code Reference, because the answer is only as accurate as the data you put in. If a value is unknown, prefer a conservative estimate over a guess when using the HTTP Status Code Reference.
How to Interpret the Result
The numerical answer from the HTTP Status Code Reference alone is rarely the whole story. Read the units, the precision, and any warnings shown alongside the HTTP Status Code Reference result. Understanding the path from inputs to output in the HTTP Status Code Reference makes it easier to spot errors, communicate the result to others, and reuse the method for related problems in the future.
Worked Examples
A typical HTTP Status Code Reference run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: A user reports they cannot access a page on your website and sees a 404 error. Here is how to troubleshoot it: 1. Confirm the URL is correct. A typo in the path produces a 404 because the server cannot find the resource at that address. 2. Check whether the page was recently moved or deleted. If so, set up a 301 redirect from the old URL to the new one. 3. If the page exists but the 404 persists,
Common Mistakes to Avoid
Common mistakes with the HTTP Status Code Reference:
- Mixing up units (for example, entering one unit when the HTTP Status Code Reference expects another).
- Forgetting to convert percentages to decimals or vice versa where the HTTP Status Code Reference formula requires it.
- Using a snapshot value that no longer reflects reality for the HTTP Status Code Reference, especially for time-sensitive inputs like prices, rates, or counts.
- Rounding intermediate steps too early and then carrying the rounded value forward in the HTTP Status Code Reference.
- Treating the HTTP Status Code Reference as a substitute for professional advice when the decision is high-stakes.
Limitations and Assumptions
No calculator is a perfect model of reality, and the HTTP Status Code Reference is no exception. The HTTP Status Code Reference makes simplifying assumptions to keep the math tractable: it ignores rare cases, applies default values where inputs are missing, and uses formulas that suit the typical situation rather than the exotic one. When your situation falls outside the typical case, the HTTP Status Code Reference result may drift further from the truth. If you need a more precise answer than the HTTP Status Code Reference provides, the next step is usually a specialist, a more detailed reference, or a domain-specific tool.
Related Tools and References
For more depth on the HTTP Status Code Reference topic, consult textbooks, academic papers, or reputable online resources. Reputable sources for the HTTP Status Code Reference include government statistics agencies, university extension services, and peer-reviewed journals. Wikipedia is a useful starting point for definitions and formulas behind the HTTP Status Code Reference, but always follow the citations to the original source before relying on a number. If you find that you need the same HTTP Status Code Reference calculation repeatedly, consider writing down the inputs and the result in a note so you can build a personal record over time.
Quick Reference
- Free to use: yes, no sign-up required.
- Privacy: all calculations run locally in your browser.
- Units: metric and imperial supported where applicable; check the input labels.
- Speed: instant, no page reload.
- Mobile friendly: yes, works on phones and tablets.
- Offline: once the page has loaded, the calculation continues to work without a network connection.
References - General-purpose math references such as Wolfram MathWorld and Khan Academy for foundational formulas.
- Wikipedia articles on the relevant topic, with citations to primary sources, cover the HTTP Status Code Reference background.
- Peer-reviewed journals and textbooks give the most rigorous treatments of the HTTP Status Code Reference method.Tools/tools/calculator) - Percentage Calculator - Unit Converter
Also try these free tools: