Skip to content
SmartHomeDB
GB

Electronics calculators

Voltage divider calculator

Calculate the output of a voltage divider or find matching resistors from a standard series, e.g. 5 V to 3.3 V.

Frequently asked questions

How do I get from 5 V to 3.3 V?
With two resistors in the ratio R1 : R2 = 1.7 : 3.3, for example 1 kΩ and 2 kΩ (gives 3.33 V). The tool finds a pair from E12, E24 or E96.
Is a voltage divider a level shifter?
Only for slow, one-way signals. For I²C and fast lines, use a proper level shifter.

Embed on your site

You can embed this tool on your website or blog for free. It runs in your visitors' browsers, sets no cookies and stores nothing.

With a script (recommended)

The tool appears in an isolated area (shadow DOM), so your site's styles do not interfere. Optional: data-theme="light" or "dark" and data-lang="de" or "en".

<div data-shdb-tool="voltage-divider" data-lang="en"></div>
<script async src="https://shdb.io/embed/v1/loader.js"></script>

With an iframe

For sites that do not allow third-party scripts. The height adjusts through a message (postMessage); the example includes the line needed for it.

<iframe id="shdb-voltage-divider" src="https://shdb.io/embed/voltage-divider/?lang=en" title="Voltage divider calculator" width="100%" height="480" style="border:0;max-width:100%" loading="lazy"></iframe>
<script>window.addEventListener("message",function(e){if(e.origin==="https://shdb.io"&&e.data&&e.data.shdbTool==="voltage-divider"){document.getElementById("shdb-voltage-divider").style.height=e.data.height+"px"}});</script>

https://shdb.io/embed/voltage-divider/?lang=en

Preview

Loads the script from shdb.io and shows the tool as it will appear on your site, with the fixed link below it.

The link "Tool by shdb.io" always appears below the embedded tool. It is built in and cannot be switched off.
Terms in short: the link must stay visible and legible (do not hide, shrink or remove it). The script must not be modified. Use is without warranty; we may block an embed in case of abuse. See the embedding guide for the full text.