← All work

Elberegner.dk

Helping Danes pay less for electricity.

Elberegner.dk shows households what they would really pay with every electricity supplier in Denmark — and helps them switch. Since 2022 I’ve built the tools people use on the site, and the engine that keeps every number behind them right.

My role
Lead developer
When
2022 — now
See it live
elberegner.dk

Electricity in Denmark is priced by the hour, and what you really pay is buried under fees, taxes and fine print. Elberegner.dk cuts through that and shows people, in kroner, what they would pay elsewhere.

It only works if the numbers can be trusted — every hour, for every supplier. This is how it fits together.

How it works

  1. 01

    It starts with a simple question

    “Am I paying too much for electricity?” Most people can’t answer it. The price changes every hour, and on top of it come grid fees, taxes and each supplier’s own markup — all packaged differently.

  2. 02

    Three ways in

    Some people compare deals on the website. Some check the live chart to see when power is cheapest today. Others log in to their own account and follow their actual bills. Three very different tools — but they all have to show the same numbers.

  3. 03

    One engine behind it all

    That’s why everything runs on one engine that I built. It knows every supplier, every deal and every fee, and all three tools ask it for their answers. Fix a price in one place, and it’s right everywhere.

  4. 04

    Always up to date

    Tomorrow’s electricity prices are published sometime in the afternoon — never at a fixed time. The engine checks every five minutes until they appear, so they’re on the site the moment they exist.

  5. 05

    Your real usage, not a guess

    A guess at your consumption only gives you a guess at your savings. So households can connect their own electricity meter, and the engine prices what they actually used, hour by hour.

  6. 06

    And when someone switches

    When a household finds a better deal and switches, the engine reports it to the right partner. That’s what keeps Elberegner.dk free for the people using it.

dealspricesyour usageevery 5 minevery hourswitchesHouseholdswant a cheaper dealThe websitecompare & calculateLive priceshour by hourMit Elberegneryour own accountThe engineone source of truthPower markettomorrow’s pricesYour metervia EloverblikPartners11 networks
  • Built by me
  • Outside service
  • People

Choices I made

  1. 01

    One engine instead of many copies

    The website, the live chart and the account all need the same prices. If each kept its own copy, they would sooner or later disagree.

    I built one engine that every tool asks for its numbers.

    The catch If the engine stops, everything stops — so it runs on several servers and is checked by 450 automated tests.

  2. 02

    Keep the website the team knows

    The editors write content in WordPress every day. Comparing deals, though, is a real application, not a page.

    I built the comparison tools as small apps that slot into WordPress, so the editors can place them like any other block.

    The catch Two worlds in one package — so every release is versioned automatically to keep them in step.

  3. 03

    Real meters over estimates

    An estimate of how much power you use gives an estimate of what you could save.

    Households can link their meter with MitID, and see savings based on what they actually used.

    The catch The link to the meter has to be renewed now and then — and that has to happen without people noticing.

The result

Under the hood — for the technical reader

Stack Laravel · WordPress · React · Next.js · Tailwind

  • Live prices 2022

    Today’s and tomorrow’s prices hour by hour, with fees and taxes included and the cheapest hours highlighted.

    React · Vite · Redux Toolkit

  • Comparison feed 2023

    Every deal filtered, sorted and priced against your usage and region — React apps inside a WordPress plugin, suppliers imported daily.

    WordPress · React · TypeScript

  • Heat-pump calculator 2022

    Enter an address and see whether moving from oil, gas or pellets to a heat pump would pay off.

    WordPress · PHP · Tailwind

  • The engine 2022 — now

    A Laravel API with 46 scheduled jobs covering suppliers, deals with price history, fees, spot prices, meter data and tracking.

    Laravel · MySQL · Redis · Horizon