Home / Blog / Guides

Guide · Nov 15, 2026 · 6 min read

Can you run a bitcoin miner on solar panels? The four numbers that decide it

One air-cooled miner uses about 87 kWh a day, nearly three times what an average American home does. Matching that with solar takes around 15 kW of panels plus batteries for the night. Here is the arithmetic, step by step, and why most miners run on steady, cheap grid power instead.

Firsthand card: "Can you run a bitcoin miner on solar panels? The four numbers that decide it", with 87.5 kWh, what one Antminer S21 XP uses in a day

The short answer: it can be done, and rarely pays

A bitcoin miner does not care where its electricity comes from. Plug it into a solar system that can supply enough power and it hashes exactly as it would on the grid. So the honest answer to "can you?" is yes.

The useful question is whether it makes sense, and that comes down to four numbers: how much power the machine draws, how much a solar panel really produces, what happens at night, and what each kilowatt-hour ends up costing. This guide walks through each one with real figures, so you can do the sum for your own roof before you spend anything.

If the words kilowatt and kilowatt-hour are new, start with our guide to how much electricity a miner uses. It explains both in plain terms and shows how the power price decides whether a machine makes money.

Step one: a miner uses about three homes' worth of electricity

Every miner's spec sheet lists its power draw in watts. A current air-cooled machine such as the Antminer S21 XP draws 3,645 W, which is 3.645 kW. The smaller Antminer S21 draws 2,643 W. A large hydro unit like the Antminer S23 XP Hyd draws 5,340 W. Our guide to reading a spec sheet shows where to find the figure.

A miner runs all day, every day, so the daily use is simply the draw times 24 hours. For the S21 XP that is 3.645 × 24 = 87.5 kWh a day, or about 2,624 kWh in a 30-day month. The smaller S21 uses 2.643 × 24 = 63.4 kWh a day, and the S23 XP Hyd 5.34 × 24 = 128.2 kWh. Whichever machine you choose, the daily figure is the one to carry into the next steps.

For scale, the average US home bought 10,791 kWh of electricity in 2022, about 899 kWh a month, according to the US Energy Information Administration. One S21 XP uses nearly three times as much as that whole household. Whatever solar system you picture for your house, a miner needs about three of them.

One air-cooled miner uses nearly three times the electricity of an average American home.

Step two: a solar panel produces about a quarter of its rating, on average

A solar panel's rating, say 400 W, is what it produces in full sun under test conditions. Across a whole year, with nights, mornings, evenings, clouds and winter, it produces much less. The measure for this is the capacity factor: the year's actual output divided by what the panel would make running at its rating around the clock.

For US utility-scale solar farms the capacity factor was 24.0% in 2025, the EIA's figures show, and between 23.2% and 25.6% in every year from 2016. Those are large, professionally sited farms in mostly sunny places, so treat 24% as a good result rather than a floor.

Now do the sum. One kilowatt of panels at 24% averages 0.24 kW, which is 5.76 kWh a day. To average the 87.5 kWh an S21 XP uses each day you need 87.5 ÷ 5.76 = about 15.2 kW of panels: more than four times the machine's own 3.645 kW rating, for a single machine. In 400 W panels that is 38 of them.

Step three: the sun sets, and the miner does not want to

Even 15.2 kW of panels only covers the machine on average. The panels make all of that energy in daylight, while the miner wants the same 3.645 kW at midnight as at noon. On a day with twelve hours of light, about half of the machine's 87.5 kWh, some 44 kWh, has to be stored in batteries during the day and drawn back out at night.

That storage is the expensive part of any off-grid system, and it is sized for the darkest weeks of the year, not the average. Skip it and the miner simply stops at dusk. A machine that runs only while the sun is strong runs a minority of the day, and a miner earns for the hours it is hashing and nothing for the rest. Our guide to uptime shows what each day offline costs, and it is the same arithmetic for each night.

This is why the sites built for mining look for power that is there every hour. A machine that is on 99% of the time earns on 99% of the time.

The panels make their energy in daylight. The miner wants the same power at midnight as at noon.

Step four: compare the cost of each kilowatt-hour

Sunlight is free, but solar power is not. Its cost is paid up front: the panels, the inverters, the batteries, the wiring and the installation. To compare it with any other electricity, divide what the whole system costs over its life by the kilowatt-hours it will deliver. That gives a price per kWh you can put next to a power bill or a hosting rate.

Then compare it with the rates miners actually pay. Our sites run from 3.9 cents a kWh in Nigeria, and the price includes the power arriving every hour, cooling, racking and people on site. At 3.9 cents the most efficient machine in stock, the S23 XP Hyd, makes one bitcoin for about $17,756 of electricity at today's hashprice, against about $64,000 to buy one. A home solar system has to beat that per kWh, after its batteries, to be worth building for mining.

Remember too that the solar system is a second purchase on top of the machine. Money spent on 15 kW of panels and a battery bank is money not spent on more hashrate.

Step five: the heat and the noise come with it

Every watt a miner draws comes out as heat. An S21 XP puts 3.6 kW of heat into the room it sits in, around the clock, which is a large space heater that never switches off. It also needs a constant stream of air to stay within its temperature rating, and a hydro machine needs a coolant loop and somewhere to shed its heat.

Air-cooled miners are loud as well, far louder than anything else in a house. Our guide to noise puts numbers on it and explains why we do not recommend running one at home. Solar panels on the roof do not change any of that.

What to do instead

If what draws you to solar is cheap electricity, the goal is right and the tool is wrong. What makes a miner profitable is power that is cheap per kWh and there every hour of the day. That is a site with its own supply and its own cooling, not a roof.

That is how hosting works. You buy the machine, it runs at a site built for it, you pay electricity at the site's rate, and the bitcoin it mines goes to your own wallet. Our step-by-step guide to hosting walks through it from checkout to the first payout.

If you still want to try solar, do the four sums above with your own numbers first: your machine's draw, your panels' real output, the battery for the night, and the cost per kWh at the end. Most people who do them choose the site.

Sources and further reading

Disclosure

Firsthand Bitcoin sells and hosts mining hardware, including this machine. No manufacturer, distributor or affiliate programme paid for or reviewed this page and we take no commission on the links above. Historical figures are computed from daily bitcoin price and network hashprice, each day valued at its own prices. Nothing here is investment advice.