The most precise and accurate way to measure the TDS for coffee is to use a refractometer.