Determination using gas laws