U1 Foundations

What a homelab really costs

A homelab can cost nothing or as much as a used car. The difference is rarely the hardware you start with; it is whether you know what you want to run before you buy. This guide covers purchase costs, running costs and the honest arithmetic of replacing subscriptions.

At a glance

  • Write down the services you will actually use before you buy anything. Most first labs fail from a lack of purpose, not a lack of hardware.
  • A refurbished business mini PC is the best value starting point for most people in late 2026: 16 GB for a container host, 32 GB if it will run several virtual machines.
  • Memory prices rose sharply in 2025 and 2026. Buy machines with the memory already installed, and treat 16 GB as the floor.
  • Every watt running all year costs about $1.49 at 17 cents per kWh. Idle draw decides the running cost.
  • Self-hosting can pay for itself within a year, but only if you actually cancel the subscriptions it replaces.

Start with services, not hardware

The most common first-lab story goes like this: someone buys capable hardware, installs a hypervisor, starts a dozen containers from tutorials and then uses none of them. Six months later the box is a warm paperweight. The cure is a short list, written before shopping.

  1. List what you pay for. Cloud storage, photo backup, password management, file sync and the long tail of small subscriptions for notes, recipes and read-it-later apps.
  2. List what you wish worked differently. Advertising on every device, smart devices that depend on a vendor's cloud, files scattered across services.
  3. Pick two or three to start. For most households the strongest starter set is a password vault, a photo library and one of file sync or a media server.
  4. Size hardware for that list, with modest headroom for experiments, and nothing more.

A simple planning table keeps the list honest and becomes the first page of your documentation:

ServiceHow criticalRuns asStorageBackup
Password vaultHighContainerSmallNightly, plus an off-site export
Photo libraryHighContainerLarge and growingNightly and off-site
Home automation hubHighVirtual machineSmallDaily
DNS filterMediumFirewall package or containerTinyConfiguration export after changes
Media serverMediumContainerLargeConfiguration only
Test machinesLowVirtual machinesVariesNone

Our Choosing a Platform guide explains how to decide what runs as a container and what runs as a virtual machine.

Starting routes compared

Prices below are typical late-2026 ranges for complete, working machines. They moved month to month during the memory shortage, so check current prices the day you buy.

RouteTypical costIdle drawBest forWatch out for
Spare laptop or desktop$015 to 80 WFinding out whether you enjoy the hobbyOld desktops can be power hungry; replace swollen laptop batteries
Single-board computerAbout $100 to $200 with power supply and storage3 to 8 WDNS filtering, monitoring, home automationNo longer the bargain it was; weak storage and software compatibility limits
Refurbished business mini PC, 16 GBAbout $150 to $2506 to 20 WThe best general starting pointCheck memory is installed and upgradeable
New low-power mini PC, 16 GBAbout $300 to $4506 to 15 WA warranty and a quiet, efficient chipSlower payback
Used office desktop or small towerAbout $50 to $150, plus memory40 to 80 WDrive bays and expansion cards on a budgetRunning cost over several years
Turnkey NAS applianceAbout $250 empty, often $500 or more with drives15 to 40 WStorage and backup firstExpensive per drive bay; limited for complex container stacks
Used enterprise serverAbout $150, plus drives and memory70 to 200 W, often less after tuningLearning enterprise hardware, many baysNoise, heat and the electricity bill

Our Choosing Homelab Hardware guide explains each family in depth, and the three reference builds show complete labs at different budgets.

The memory squeeze of 2025 and 2026

Memory prices roughly doubled to tripled during 2025 and 2026, and server memory rose further still. That changed several long-standing pieces of advice:

  • Buy machines with memory already installed. A refurbished mini PC or office desktop that comes with 16 or 32 GB is often cheaper than the same machine with 8 GB plus an upgrade. Upgrading from 8 to 16 GB yourself costs roughly $60 to $120 at late-2026 prices.
  • Treat 16 GB as the floor. With 8 GB you will hit the wall the first time a photo library and a media server run together. Plan for 32 GB once you run several full virtual machines.
  • Reuse what you own. Barebones machines make sense again if you have compatible memory sitting in a drawer.
  • Older platforms got relatively cheaper. Previous-generation memory was less affected, which is one reason older workstations returned to favor. Our field note A Second Life for Old Hardware covers the trade-offs.
  • Check soldered memory. Some small machines have memory soldered to the board. What you buy is what you keep, so buy enough.

Running costs

Electricity is the cost that keeps arriving. A device that runs all year uses 8.76 kWh for every watt of average draw. At 17 cents per kWh, every watt costs about $1.49 a year, or about 12 cents a month.

Hardware classTypical idlePer year at 17 cents per kWh
Single-board computer3 to 8 WAbout $4 to $12
Mini PC6 to 20 WAbout $9 to $30
Office desktop40 to 80 WAbout $60 to $119
Enterprise rack server70 to 200 WAbout $104 to $298

Use the Power Cost Calculator with your own measured watts and tariff. Then budget for the other recurring items people forget:

  • A domain name, typically $12 to $20 a year.
  • Off-site backup storage, a few dollars a month for a modest photo library.
  • Replacement drives. Spinning drives are consumables; plan to replace some within five years.
  • A UPS battery every three to five years.

Rule of thumb

A more efficient machine that costs $100 more and saves $50 a year in electricity pays for itself in two years and is an easy decision. One that costs $500 more to save the same $50 takes a decade. Do the arithmetic with your own tariff before you pay for efficiency, or before you accept a free server.

Does self-hosting pay for itself?

Sometimes, and faster than people expect. Here is a worked example with typical late-2026 prices:

ItemMonthly
Cloud storage plan, replaced by file sync to the home server$10.00
Family password manager, replaced by a self-hosted vault$3.33
Photo backup plan, replaced by a self-hosted photo library$3.00
Notes and read-it-later apps, replaced by self-hosted notes and a feed reader$12.00
Subscriptions replaced$28.33
Electricity for a mini PC averaging 20 W-$2.48
Off-site backup storage and a domain name-$1.60
Net saving$24.25

With a $200 refurbished mini PC, the hardware pays for itself in a little over eight months. Choose a $400 new machine and it takes about sixteen and a half. Try your own numbers in the Payback Calculator.

Caution

The arithmetic only works if you actually cancel the subscriptions. It also leaves out your time, drives, a UPS and the day you become the household's single point of failure. If saving money is the only goal, the honest answer is often to keep paying. Self-host for control, privacy and learning, and treat any savings as a bonus. See When Not to Self-Host.

Licensing and subscription creep

Self-hosted software is not always free forever. During 2025 and 2026 several popular self-hosted products moved features behind paid plans, raised the price of lifetime licenses or withdrew free tiers, and one widely used self-hosting layer simply stopped releasing updates. Before you build a household service on a product, check how it is funded, what its license allows and what happens if the free tier disappears. Projects with open licenses and an active community are the safest foundation. Our Self-Hosting Services guide lists what to check.

Spending in stages

A budget spread across stages buys more than the same budget spent on day one, because each stage teaches you what the next one should be.

  1. Stage 0, $0. Use hardware you already own to practice Linux, containers and backups. Decide whether you enjoy this.
  2. Stage 1, about $200 to $400. A dedicated firewall appliance and a managed switch with VLAN support. They are the foundation of a lab you intend to grow, and they keep the internet working while you break everything else.
  3. Stage 2, about $150 to $550. One small always-on machine with an SSD: 16 GB of memory for a container host, 32 GB for a hypervisor host running several virtual machines.
  4. Stage 3, about $100 to $300. A backup device with its own credentials and a small UPS, before any service holds data the household cares about.
  5. Stage 4, when you hit a real limit. More memory, a NAS, a second host. Let monitoring tell you what the limit is.

This is the same order as our Start Here page. If you only want a few services and your current router will do for now, you can begin at stage 2, as in Your First Self-Hosting Weekend, but add stage 3 before the household relies on anything. Things you do not need in the first month: a rack, 10 GbE networking, an enterprise server or a NAS. A home gigabit network and the storage inside your first machine are enough to learn on.