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

How to Make a Salinity Meter

You want to measure how salty water is, for a pool, aquarium, aquaponics tank or a school project, and would rather build than buy. A working salinity meter is a conductivity cell plus careful calibration.

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

Make a conductivity cell from two corrosion-resistant electrodes, such as stainless steel rods or graphite, held a fixed distance apart, and drive it with alternating current from a microcontroller so the electrodes do not polarize or corrode. Measure the voltage across the cell in a divider with a fixed resistor, then convert that reading into salinity using two or three salt solutions you make by weighing salt and water, for example 1 g, 10 g and 35 g of salt per kilogram of solution. Add a temperature sensor, because conductivity rises by roughly 2 percent per degree Celsius. Expect a homemade meter to be useful for comparing and trending, not as accurate as a calibrated commercial tester.

How salt turns into an electrical reading

Pure water barely conducts electricity. Dissolve salt and it splits into charged sodium and chloride ions that carry current. More salt means more ions and higher conductivity. Commercial salinity meters, pool salt testers and EC meters all measure this conductivity and convert it to salinity with a known curve.

Two practical problems shape the design. First, direct current through salt water pulls ions to each electrode, forming layers that make the reading drift, and it corrodes the electrodes and creates gas bubbles. Alternating current, flipping polarity many times per second, avoids most of this. Second, conductivity depends strongly on temperature, so the same water reads higher when warm. A useful meter measures temperature and corrects for it.

Parts and circuit

Part Role Notes
Microcontroller board Drives the cell and reads voltage Any common Arduino-compatible board
Two electrodes The conductivity cell Stainless steel rods, graphite pencil leads or rods; fixed gap of about 1 cm
Rigid holder Keeps the gap and depth constant Plastic block or tube cap; the gap must never change
Fixed resistor Forms a voltage divider with the cell Start around 1 kilohm; adjust for your salinity range
Waterproof temperature sensor Temperature compensation A sealed digital probe is easiest
Kitchen scale reading 0.1 g Making standards The accuracy of the whole meter depends on this
  1. Connect one electrode to a digital pin, call it pin A, through the fixed resistor. Connect the other electrode to a second digital pin, pin B.
  2. Connect the junction between the resistor and the first electrode to an analog input.
  3. In code, set pin A high and pin B low, wait a few microseconds, and read the analog input. Then reverse them, pin A low and pin B high, and read again. Repeat several hundred times and average both directions. This gives a crude alternating drive.
  4. From the divider voltage, calculate the cell resistance, then conductance, which is 1 divided by resistance. Conductance rises with salinity.
  5. Leave both pins low between readings so no current flows when not measuring.

Commercial EC sensor modules with their own AC drive circuit and a two-electrode probe are an alternative, and they usually give steadier readings than raw pins. The calibration method below still applies.

Making calibration standards by weight

Your meter is only as good as the solutions you calibrate it with. Weigh both salt and water; do not use spoons or cups. Use pure sodium chloride, such as non-iodized table salt with no anti-caking agents if you can find it, or the same sea salt mix you will be measuring. Use distilled water.

Target salinity Salt Distilled water Use
1 g/kg (about 1,000 ppm) 1.0 g 999 g Brackish and low-salt checks
3.5 g/kg (about 3,500 ppm) 3.5 g 996.5 g Typical saltwater pool range
10 g/kg 10.0 g 990 g Mid-range
35 g/kg (35 ppt) 35.0 g 965 g Seawater-strength

Stir until fully dissolved and let each standard reach room temperature before use. Store in sealed, labelled bottles; open containers evaporate and get saltier. A pure sodium chloride solution and natural seawater of the same salinity do not have exactly the same conductivity, so calibrate with the same type of salt you plan to measure.

Calibrating and checking the meter

  1. Rinse the electrodes in distilled water, then in a little of the first standard.
  2. Dip them to the same depth every time. Changing depth changes the wetted area and the reading.
  3. Record conductance and temperature for each standard, from weakest to strongest.
  4. Plot conductance against salinity. Over a modest range it is close to a straight line; over a wide range it curves, so use several points and interpolate between the nearest two.
  5. Correct for temperature. A simple approach multiplies the measured conductance by 1 / (1 + 0.02 x (T – 25)), which refers it to 25 C. The 2 percent per degree figure is an approximation that works reasonably for salt solutions near room temperature.
  6. Check against a fresh standard you did not use for calibration. If the meter reads within a few percent, it is working well for a homemade device.

Comparing against a commercial tester, such as a multi-parameter meter like the EZTOCH 8 in 1 tester that includes a salt reading, is a good way to spot a calibration mistake, as long as that tester has itself been calibrated recently.

Choose the fixed resistor to suit your range. The divider is most sensitive when the cell resistance is close to the fixed resistor, so if readings in your strongest standard sit near the top or bottom of the analog range, swap the resistor. A larger value suits fresh and brackish water; a smaller one suits seawater. Once you change the resistor, the cell must be recalibrated from scratch, because every stored conversion point depends on it. Keep a written table of standards and readings taped inside the meter’s box so anyone using it can convert honestly.

Limits, maintenance and safety

  • Fouling. Biofilm, scale and oil coat electrodes and lower the reading. Clean them gently and recalibrate every time you use the meter seriously.
  • Corrosion. Even with AC, cheap metal corrodes. Stainless steel and graphite last far longer than copper or plain steel.
  • Other dissolved substances. Conductivity responds to every ion, not just salt. Hard water, fertiliser and pool chemicals all raise readings.
  • Accuracy. Expect useful comparison and trend tracking. For pool chlorinators, aquarium salinity or anything where a wrong number harms equipment or animals, confirm with a commercial calibrated meter.

Run the meter only from batteries or a USB supply. Never put electrodes in water that is connected to anything mains-powered, such as an aquarium heater or pool pump circuit, without unplugging it first; a fault on those devices can make the water live. Wash hands after handling concentrated salt solutions near electronics, and keep the circuit dry.

Mix your standards first

Before wiring anything, weigh out three standards, for example 1, 3.5 and 35 g of salt per kilogram, in distilled water and label them. Then build the cell with a fixed electrode gap, record a reading in each standard at the same depth and temperature, and keep that table with the meter so every future reading can be converted honestly.

Frequently Asked Questions

Can I make a salinity meter without a microcontroller?

A multimeter on resistance with two electrodes shows salinity changes, but it uses direct current, so readings drift as the electrodes polarize. A hydrometer that measures density is the simplest non-electrical alternative.

What electrodes work best?

Graphite and stainless steel resist corrosion well. Platinum is used in laboratory cells but is expensive. Avoid copper, aluminium and plain steel, which corrode quickly in salt water.

Why does my reading keep rising while the probe sits in the water?

Usually polarization from direct current or the electrodes warming the water. Use alternating drive, measure briefly, and leave the pins off between readings.

How do I convert conductivity to ppm salt?

There is no single exact factor, because the relationship curves with concentration and salt type. Calibrating with your own weighed standards and interpolating between them is more reliable than any fixed multiplier.

Is a homemade meter good enough for a saltwater pool?

It can show whether salt is rising or falling, but chlorinators are sensitive to salt level, so confirm with a calibrated pool salt tester or test strips before adding salt.