Side by side
LANvsWAN
What is the difference between a LAN and a WAN?
Updated 2 min read7 differences
In short
A LAN connects devices in one building or site over fast, private links, while a WAN links networks across cities or countries, often over the internet.
LAN
Local Area Network
A LAN is a network that connects devices within a small area such as a home, office or school, letting them reach each other directly and share resources fast.
Read the page on LANWAN
Wide Area Network
A WAN is a network that connects devices and local networks across large distances, such as cities or countries, often over links rented from telecom providers.
Read the page on WANLAN and WAN compared
| Aspect | LAN | WAN |
|---|---|---|
| Scope | One home, office, campus or data center | Cities, countries or the whole globe |
| Ownership | Owned and managed by one person or organization | Usually relies on telecom providers or the internet |
| Speed | Typically 1 to 10 Gbps wired, plus multi-gigabit Wi-Fi | Varies widely; bandwidth costs much more per Mbps |
| Latency | Under a millisecond to a few milliseconds | Tens to hundreds of milliseconds |
| Equipment | Switches, Wi-Fi access points, Ethernet cables | Routers, fiber, leased lines, VPN gateways |
| Addressing | Mostly private IP ranges, such as 192.168.x.x | Public IP addresses, or private routes over leased lines |
| Example | A home network or an office floor | The internet, or a company linking its branch offices |
The difference, explained
A LAN is a network that covers a small area, like a home, an office or a data center, and connects computers, printers and servers through switches and Wi-Fi. A WAN links separate locations over long distances, for example a company's offices in different countries; the internet itself is the largest WAN.
The difference comes from distance and ownership. Inside a LAN you own the cables and equipment, so links are fast, cheap to add and have very low latency. Across a WAN, traffic travels through telecom providers' networks, which costs more, adds latency because signals cover long distances, and usually gives less bandwidth for the money.
They work together all the time. Your home router joins your LAN to your internet provider's network, usually using NAT so many local devices share one public IP address. Companies connect branch LANs with VPN tunnels over the internet, private circuits, or SD-WAN (software-defined WAN), which automatically picks the best path across several connections.
A common misconception is that a LAN must be wired and a WAN must be wireless. Wi-Fi is just one way to join a LAN, while WANs mostly run over fiber; the difference is the geographic scope and who operates the links, not the medium.
Which one should you use?
Choose LAN when…
- The devices are in the same building or site.
- You need high bandwidth and very low latency, as for file servers or backups.
- You want full control over the equipment and the traffic.
Choose WAN when…
- You must connect offices, data centers or users in different locations.
- Remote workers or branch sites need access to central systems.
- You are reaching services over the internet or in the cloud.
Readers ask
Is the internet a WAN?
Yes. The internet is the largest WAN in the world: a global network of networks that connects millions of LANs.
Is Wi-Fi a LAN or a WAN?
Wi-Fi is a way of connecting to a LAN, often called a WLAN (wireless LAN). It covers a home or an office, not long distances.
What is a MAN?
A metropolitan area network (MAN) sits between the two, connecting sites across one city, such as a university's campuses or a city's public buildings.