Skip to content
AkerminMeasure. Monitor. Improve. Compare Products
Learning Center

How to Make a TDS Meter at Home

You want to check your drinking water, aquarium or hydroponic solution and wonder whether a homemade TDS meter can do it. It can, within limits, if you handle the excitation, temperature and calibration properly.

As an Amazon Associate, Akermin earns from qualifying purchases. Product links on this page are affiliate links.

A TDS meter measures electrical conductivity and multiplies it by a factor, typically about 0.5 to 0.7, to estimate dissolved solids in mg/L (ppm). At home you can build one with two stainless steel or graphite electrodes at a fixed spacing, an Arduino or similar board that drives them with alternating current (direct current polarizes the electrodes and gives drifting readings), a temperature sensor for compensation, and a calibration solution made from a weighed amount of table salt in distilled water. A ready-made analog TDS sensor module for microcontrollers simplifies the electronics. Expect results good to roughly 10 percent after calibration, fine for spotting changes, but it tells you nothing about which substances are dissolved or whether the water is safe.

What a TDS meter really measures

Total dissolved solids is the mass of everything dissolved in water: calcium, magnesium, sodium, bicarbonate, chloride, sulfate, nitrate and more. Measuring that directly means evaporating a known volume and weighing the residue. Pocket TDS meters do not do that. They measure electrical conductivity (EC), because dissolved ions carry current, then multiply by a conversion factor to report ppm.

That has three consequences for any build. First, you are building a conductivity meter; TDS is a calculated estimate. Second, the factor depends on what is dissolved. Meters commonly use around 0.5 (the NaCl scale), or around 0.64 to 0.7 (a mixed-salt scale often called 442), so two meters can report different ppm on the same water while agreeing on EC. Third, substances that do not ionize, such as sugar, many pesticides and most organic contaminants, and also lead at trace levels, barely affect conductivity. A TDS reading cannot tell you water is safe to drink.

Parts and why each one matters

Part Purpose Common mistake
Two electrodes (stainless steel rods, graphite pencil leads or platinum wire) Pass a small current through the water Copper or galvanized wire, which corrodes and contaminates the sample
Fixed spacing holder Keeps the cell constant so readings are repeatable Loose wires whose spacing changes every dip
AC excitation circuit or analog TDS module Avoids polarization and electrolysis at the electrodes Measuring DC resistance with a multimeter
Microcontroller with analog input Reads the signal and does the arithmetic Reading once instead of averaging many samples
Waterproof temperature sensor Corrects EC to 25 C Ignoring temperature; conductivity changes about 2 percent per degree
Distilled water, table salt, kitchen scale Makes a calibration standard Using tap water for the standard

The cheapest route is a small analog TDS sensor board sold for Arduino projects, which includes the AC excitation and a probe. Building the excitation yourself is possible with a microcontroller toggling two pins in opposite phase, but the module is easier and more consistent.

Building and wiring it

  1. Make the probe. Mount two electrodes parallel, about 1 cm apart, through a plastic cap or block, with the same length exposed each time, for example 2 cm. Seal the joints with epoxy so water cannot creep up the wires.
  2. Connect the electronics. With a module, wire its power to 3.3 V or 5 V as specified, ground to ground, and its signal output to an analog input. Fit the waterproof temperature sensor alongside the probe on its own pin.
  3. If building your own excitation, drive the electrodes from two digital pins switched alternately so current flows one way then the other, with a known series resistor, and read the voltage across the cell during each phase.
  4. Write the code. Take many readings, at least a few dozen, discard extremes, average the rest, convert to voltage, apply your calibration constant to get EC, correct to 25 C using about 2 percent per degree, then multiply by your chosen factor for ppm.
  5. Isolate from mains. Run it from a battery or a USB power bank. A probe in water connected to a mains-powered computer through a cheap adapter can create ground loops and, with a faulty adapter, a shock path.

For temperature compensation, the common linear form is EC at 25 C equals measured EC divided by (1 plus 0.02 times the temperature minus 25). At 15 C that divisor is 0.8, so a raw reading of 400 microsiemens per cm becomes 500 at 25 C.

Calibrating with salt you weigh yourself

Without calibration, the build gives a number, not a measurement. Make a standard:

  1. Weigh 1.0 g of plain table salt (non-iodized if possible) on a scale that reads to 0.1 g or better.
  2. Dissolve it in distilled water and make the total up to exactly 1 litre. That is 1,000 mg/L of sodium chloride.
  3. A sodium chloride solution of that strength has a conductivity of roughly two thousand microsiemens per centimetre at 25 C. On the 0.5 factor scale, it reads about 1,000 ppm.
  4. Dilute 100 mL of it to 1 L for a 100 mg/L second point.
  5. Bring both to room temperature, dip the probe, let it settle, and adjust your calibration constant until the readings match.

If your kitchen scale reads only to whole grams, make 10 g in 10 L instead, or buy a commercial calibration solution, which is more accurate than homemade. The most useful check of all is to compare your build with a commercial meter, such as the VIVOSUN pH and TDS meter, in the same glass of water. Our VIVOSUN meter review covers that type of combination tester.

Rinse the probe in distilled water after each use and store it dry. Scale or biofilm on the electrodes changes the cell constant, so recalibrate whenever readings drift.

What the readings mean and where the build falls short

TDS reading (approximate) Typical water
Under about 10 ppm Distilled water; reverse osmosis output is usually low but often somewhat higher
About 50 to 300 ppm Many municipal supplies
Above 500 ppm Hard well water or mineral-rich supplies; above the US EPA secondary guideline for taste and scaling
Above about 1,000 ppm Brackish water; taste usually objectionable

A homemade meter is good for trend checks: whether a reverse osmosis membrane is wearing, whether a hydroponic reservoir is concentrating, whether a water softener is regenerating. It is poor at very low levels, where the signal is tiny and contamination from the probe matters, and at very high levels such as seawater, where the cell saturates.

For health questions, TDS is only a starting point. Lead, arsenic, nitrate, bacteria and pesticides all need specific laboratory tests. If your well water reads high, tastes salty or metallic, or anyone in the house is pregnant or very young, send a sample to a certified water testing laboratory. For a commercial alternative that also checks pH, our guide to pH meters includes combined pH and TDS testers.

Mix the salt standard first

Before soldering anything, weigh a gram of salt into a litre of distilled water and label the bottle. A known standard is what turns any homemade probe into a meter, and it will also tell you within minutes whether a cheap commercial meter you already own is reading honestly.

Frequently Asked Questions

Can I measure TDS with a regular multimeter?

You can get a rough comparison by measuring resistance between two probes at a fixed spacing, but the DC current polarizes the electrodes and the reading drifts as you watch. It can tell very salty water from fresh water and not much more.

Why does my homemade TDS meter reading keep rising?

With DC excitation, gas bubbles and polarization change the electrode surface. Temperature changes and dissolving electrode metal also shift readings. Use AC excitation, inert electrodes and temperature compensation.

Is low TDS water better?

Not necessarily. Low TDS means few dissolved minerals, which says nothing about contaminants that do not conduct. Very low TDS water can taste flat. Safety depends on specific contaminants, not the total.

What conversion factor should I use?

Use 0.5 if you want to match most pocket meters that report on the sodium chloride scale. Hydroponic growers often use about 0.7. Report EC as well, because it does not depend on the factor.

Can a TDS meter detect lead?

No. At the trace levels that matter for health, lead adds almost nothing to conductivity. Lead testing needs a laboratory analysis or a specific test kit.