Ideally, blood pressure is measured while the patient is seated upright with both feet flat on the floor.