A firewall costs from $0 for built-in or open-source software to about $300–$700 for an entry-level hardware appliance such as a FortiGate 40F, $1,000–$2,000 for a small-business next-generation firewall, and five-figure sums for data-center models before subscriptions. Security subscriptions typically add 40–60% of the hardware price every year, so the three-year total is usually two to three times the box price.
Key takeaways
- The hardware is usually the cheapest part: subscriptions and support cost more over three years.
- Entry hardware starts around $300–$700, small-business NGFWs around $1,000–$2,000, and data-center models can reach five figures.
- Cloud firewalls bill by the hour or by traffic, so a small site can cost under $15 a month.
Ask three vendors what a firewall costs and you will get three different answers — and all three will be incomplete. The box is only the first line on the bill, and usually the smallest one.
How much does a firewall cost?
A firewall costs from $0 for built-in or open-source software to about $300–$700 for an entry-level hardware appliance, $1,000–$2,000 for a small-business next-generation firewall, and five-figure sums for data-center models before subscriptions. The number that matters is the three-year total, which is usually two to three times the hardware price.
That range is so wide because "firewall" covers four different products: a host firewall built into your operating system, an open-source firewall on your own hardware, a hardware appliance at your network edge, and a cloud firewall that bills by the hour or by traffic. This guide prices each one, then shows how to calculate the total you will actually pay.
What are the three layers of firewall cost?
Firewall pricing has three layers, and vendors usually publish only the first. The hardware or entry price is the appliance itself. The subscriptions pay for threat intelligence: intrusion prevention, URL and DNS filtering, sandboxing and malware inspection. Support and renewals keep the box patched and replaced if it fails.
Subscriptions are the layer that surprises buyers. For Fortinet's FortiGuard bundles, a year's subscription typically costs roughly 40–60% of the hardware price, based on published reseller bundle prices. A $1,000 box can therefore cost $400–$600 a year just to keep its threat prevention switched on — and the box is far less useful without it.
Then there are the costs nobody quotes: installation and configuration, staff time to manage rules and triage alerts, renewal price rises, which are common, and the replacement box when the hardware reaches end of life, usually after three to five years. Budget for all of them or the first renewal will be an unpleasant surprise.
How much does firewall hardware cost?
Entry-level hardware is cheaper than most buyers expect. The Fortinet FortiGate 40F, a desktop unit for a small office or branch, lists at about $389 hardware-only in a published reseller price index, with street listings around $360–$470. The SonicWall TZ470W lists at about $847 hardware-only at Dell, with security bundles pushing it past $1,500, and the Palo Alto PA-440 lists at about $1,797 hardware-only at an authorized reseller — all hardware-only with subscriptions extra.
Mid-range campus and branch appliances run roughly $2,000–$15,000 as a planning range, and data-center models can reach five figures before subscriptions. Most enterprise vendors do not publish list prices at all — Fortinet, Check Point and Cisco largely sell quote-based through resellers — so treat any number as a starting point and get three quotes.
Throughput is what moves the price. A box that inspects a gigabit of encrypted traffic costs far more than one that passes the same traffic uninspected, because TLS inspection is computationally expensive. Size the box for your inspected throughput, not your internet speed, or you will pay for an upgrade within a year.
What does a firewall cost by business size?
The table below gives realistic three-year totals for a single site, including hardware, subscriptions and support. Treat them as planning ranges, not quotes — your reseller discount, renewal rises and throughput needs will move the number.
| Business size | Typical choice | Year 1 total | 3-year total |
|---|---|---|---|
| Home / home office | Built-in firewall + DNS filtering | $0–$100 | $0–$300 |
| Small business, 5–25 users | FortiGate 40F/60F, Sophos XGS desktop | $1,000–$3,500 | $2,500–$8,500 |
| Mid-size, 50–200 users | FortiGate 100F, Palo Alto PA-450 | $3,500–$12,000 | $9,000–$28,000 |
| Enterprise / data center | PA-3400 series, FortiGate 1000F+ | $40,000–$100,000+ | $120,000–$300,000+ |
| Cloud-first, no offices | AWS WAF, cloud firewall (FWaaS) | $150–$2,000 | $450–$6,000 |
For a mid-size office, as a planning range, a FortiGate 100F lands around $3,500–$6,000 in year one and $9,000–$15,000 over three years, while a Palo Alto PA-450 lands around $8,000–$12,000 in year one and $18,000–$28,000 over three years. A Sophos XGS 136 for a small business is roughly $2,000–$3,500 in year one and $5,500–$8,500 over three years.
The open-source route changes the maths completely. pfSense or OPNsense software costs $0, and you run it on your own hardware — a refurbished mini-PC or a dedicated appliance. Your three-year cost is the hardware plus your time, or $0–$2,400 if you buy commercial support. Technical teams often choose this route, and it is the cheapest way to get enterprise-grade control.
How much does a cloud firewall cost?
Cloud firewalls replace the box with a bill based on what you protect and how much traffic you send. The clearest example is AWS WAF, which changed its pricing in November 2026 to a simpler model based on protected resources and requests.
Under the new model, AWS WAF bills three fees: $0.01 per hour per protected resource (about $7.30 a month), $0.60 per million requests inspected, and $5.00 per million requests inspected by premium protections such as Bot Control or Fraud Control, on top of the $0.60 base fee. There is no longer a charge per web ACL or per rule — the old $5 per web ACL plus $1 per rule model is gone.
That makes a small site cheap: one load balancer with 10 million requests a month costs about $13.30 a month ($7.30 resource fee plus $6.00 in request fees). But the model punishes sprawl — one web ACL on 50 load balancers costs about $366 a month in resource fees alone, as AWS's own WAF pricing page shows. Count your protected resources before you estimate.
Cloud-delivered firewalls from vendors such as Zscaler are different again: they bill per user on a custom quote, which suits remote workforces but is hard to compare without a sales conversation.
What are the free firewall options?
The cheapest firewall is the one already on your computer. Windows Defender Firewall and macOS's built-in firewall cost nothing, block inbound connections by default, and are enough for most individual users. Your router also has a firewall — usually NAT plus a basic ruleset — which is the first line of defence for a home network.
For a network, the free tier is open source. pfSense Community Edition and OPNsense are full-featured firewalls with intrusion prevention (via Suricata or Snort), VPN, and traffic shaping, and they run on commodity hardware. The software is free; you pay for hardware, electricity and your time, and commercial support is optional.
Free does not mean unmanaged. An unpatched pfSense box with default passwords is worse than no firewall at all, because it creates a false sense of security. Whatever you choose, budget the time to patch it, back up its configuration, and check its logs. Our small business cybersecurity checklist covers the maintenance habits that matter more than the brand.
What hidden costs should you budget for?
Renewal rises are the biggest hidden cost. Some vendors raise subscription prices each year, which compounds fast over a five-year hardware life. Ask for the renewal price in writing before you buy, and negotiate a multi-year price lock if you can.
TLS inspection is the second. Inspecting encrypted traffic needs more processing power, so a box sized for plain traffic will slow down or drop packets once you turn it on. If your traffic is mostly encrypted — and in 2026 it is — size for inspected throughput from the start.
Staff time is the third. Rules need reviewing, alerts need triaging, and firmware needs patching. A firewall nobody manages is a firewall that silently stops protecting you. If you have no one to manage it, a managed firewall service or a cloud firewall with a managed ruleset is usually better value than a box you buy and forget.
How can you save money on a firewall?
Get three quotes, and make them compete on the three-year total, not the hardware price. Reseller discounts of 20–40% off list are common for enterprise buyers, and a competing quote is the fastest way to get one.
Consider a bundle. Fortinet includes SD-WAN in the base licence, and some vendors bundle endpoint protection with the firewall, which can replace a separate purchase. Check what you already pay for before adding a new line item.
Right-size ruthlessly. Most small offices buy far more firewall than they need because they size for a headline throughput number measured without inspection. Measure your real peak traffic, add headroom for growth, and buy that — not the next model up. And if your workforce is mostly remote, a cloud firewall or a secure access service may replace the office box entirely.
The bottom line
A firewall costs whatever its three-year total costs, not whatever the box costs. For a small business that is usually $2,500–$8,500 over three years; for a mid-size office, $9,000–$28,000; and for a cloud-first team, often under $50 a month.
Before you spend anything, check what you already have. Your operating system firewall is free, and you can test your website's exposure in seconds with our free security headers checker.
The SSL checker shows whether your site's certificate and TLS setup are sound.
Frequently asked questions
How much does a firewall cost for a small business?
A small business typically pays $500 to $2,000 for the hardware, plus $300 to $1,500 a year for threat-prevention subscriptions and support. Over three years, expect $2,000 to $6,000 in total for a single site, depending on the vendor and the subscription bundle.
Is there a free firewall?
Yes. Windows and macOS include a built-in host firewall at no extra cost, and open-source firewalls such as pfSense and OPNsense are free software that runs on your own hardware. You pay only for the machine and your time, plus optional paid support.
Why do firewalls have yearly subscriptions?
The hardware only filters traffic. The subscriptions pay for the threat intelligence that makes a next-generation firewall useful: intrusion prevention signatures, URL and DNS filtering, sandboxing and support. Without them, the box is a basic packet filter.
How much does a cloud firewall cost?
AWS WAF now bills $0.01 per hour per protected resource, about $7.30 a month, plus $0.60 per million requests inspected. A small site with one load balancer and 10 million requests a month costs about $13.30 a month on the new pricing.
What is the total cost of ownership of a firewall?
Total cost of ownership means hardware plus subscriptions, support, installation, staff time and renewals over the life of the box, usually three to five years. Subscriptions commonly run 40 to 60 percent of the hardware price per year, so a $1,500 appliance can cost $3,800 or more over three years.
Do I need a hardware firewall at home?
Most homes do not. Your router's built-in firewall plus the host firewall on each device is usually enough, and a DNS filtering service adds more protection for less money. A hardware firewall makes sense at home only for a home lab or a home office handling sensitive work.
How much does a Palo Alto firewall cost?
Entry Palo Alto hardware, the PA-440, lists at roughly $1,800 hardware-only at an authorized reseller, while larger PA-Series appliances are quote-based and can reach five figures before subscriptions. Cloud-delivered security services are quote-based, so get a reseller quote for the full three-year cost.
Sources
- AWS — AWS WAF Pricing
- Thrive NextGen — Fortinet Pricing Index (DIR-CPO-5407)
- Network Devices Inc. — Palo Alto Networks PAN-PA-440 Firewall, Appliance Only
- Dell — SonicWall TZ470 Wireless Network Security/Firewall Appliance
- Dell — Fortinet FortiGate 40F Hardware Bundle with 3-Year FortiCare and FortiGuard UTP
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against AWS's own WAF pricing page and published reseller list prices for FortiGate, Palo Alto and SonicWall hardware; enterprise figures are planning ranges, not quotes.
How we write and fact-check →