checking compression ratio

Can the compression ratio be figured out with the motor assembled? Maybe I am missing something but couldn't you pull the spark plug out of #1 cylinder, make sure it is at tdc, use a syringe and fill the combustion chamber with fluid and figure out the cc volume? I would like to figure out the actual compression ratio of the 340 in my car.