The method most commonly used to measure the rate of photosynthesis and cellular respiration is by determining the amount of carbon dioxide (CO2) consumption and production, respectively. Both consumption and production of CO2 can be indirectly measured by using bromothymol, which is a pH indicator.