This program finds two-resistor voltage dividers created from real-world resistor values (EIA E24 and/or E96) with divider ratios closest to some target. Resistor tolerance and overall divider string resistance are taken into account. The calculator is a single .html file with inline Javascript.
Download the latest release of voltage_divider.html and run it in any browser that supports modern Javascript and HTML/CSS.
I would love to receive bug reports and user feedback. If you have improvements to the code, please get in touch.
Ben Tesch - slugrustle
voltage_divider.html contains the functions download_csv and download_xlsx, which are modified from this Stack Overflow post and are therefore distributed under the CC BY-SA 3.0 license.
The remainder of the voltage_divider project is distributed under the CC0 1.0 Universal Public Domain Dedication. See also LICENSE.txt or the first comment in voltage_divider.html.
svgo was handy for reducing the size of the inline .svg images used in this project.