Taking measurements

From Halachipedia
  1. It’s forbidden to measure precisely on Shabbat as it’s considered Uvda DeChol, a weekday activity. [1]
  2. It’s permissible to measure for the purposes of a mitzvah such as measuring Bitul BeShishim, 40 Seah for a Mikveh, or the temperature of someone sick. [2]

References

  1. Mishna Shabbat (157a) writes that measuring for a mitzvah is permitted implying that there’s a prohibition of measuring on Shabbat if not for the purpose of a mitzvah. So rules Tur and S”A 306:7 and Mishna Brurah 306:34.
  2. S”A 306:7, Mishna Brurah 306:35