Máy tính toán định luật khí lý tưởng
Giải PV = nRT cho bất kỳ biến số nào, trong đơn vị áp suất, thể tích và nhiệt độ mà bạn chọn.
Kết quả cập nhật khi bạn gõ.
Về máy tính này
The ideal gas law ties together the four state variables of a gas in one equation, PV = nRT: pressure times volume equals the number of moles times the gas constant times the absolute temperature. The constant R = 8.314462618 J/(mol·K) in SI units. Rearranged, you can solve for any variable — P = nRT/V, V = nRT/P, n = PV/RT or T = PV/nR — and this calculator does exactly that, converting pressure (Pa, kPa, bar, atm, mmHg, psi), volume (m³, L, mL, cm³) and temperature (K, °C, °F) internally so you can work in whatever units you have.
The classic worked example is one mole of gas at standard temperature and pressure: at 0 °C (273.15 K) and 1 atm, V = nRT/P = 1 × 8.314 × 273.15 / 101,325 ≈ 0.0224 m³, or the familiar 22.4 litres per mole. Heat that gas to 300 K at constant pressure and the volume rises in proportion, since V ∝ T. A crucial detail: temperature must be absolute — always convert °C or °F to kelvin (add 273.15 to °C) before the math, which the calculator handles for you.
The law is called "ideal" because it assumes gas molecules have no volume and do not attract one another. Real gases follow it closely at ordinary pressures and temperatures well above their boiling point, and it is the everyday tool for scuba and diving gas calculations, chemistry stoichiometry of gases, HVAC and pneumatics, and estimating how a balloon or tyre responds to heating and cooling. It becomes less accurate at very high pressure or near condensation, where equations like van der Waals do better.
Câu hỏi thường gặp
Định luật khí lý tưởng là gì?
PV = nRT liên kết áp suất, thể tích, mol và nhiệt độ của một khí lý tưởng thông qua hằng số R = 8.314 J/(mol·K).
Đơn vị chính xác là gì?
Internally everything is SI — pascals, cubic metres, moles and kelvin — with R = 8.314. One mole of gas at 0 °C (273.15 K) and 1 atm occupies about 22.4 L (0.0224 m³). Enter any units you like; the calculator converts for you.
Tại sao nhiệt độ phải là Kelvin?
PV = nRT dùng nhiệt độ tuyệt đối, trong đó 0 K là không tuyệt đối. Celsius và Fahrenheit có số không tùy ý, vì vậy nếu nhập °C trực tiếp sẽ cho kết quả sai. Cộng 273. 15 với °C để có kelvin — máy tính sẽ tự động làm điều này.
STP và thể tích molar là gì?
Nhiệt độ và áp suất tiêu chuẩn thường là 0 °C và 1 atm, tại đó một mol khí lý tưởng chiếm khoảng 22,4 lít. "Khối lượng mol" này là một kiểm tra dễ dàng: nếu kết quả của bạn cho một mol gần những điều kiện đó xa hơn 22,4 L, hãy kiểm tra lại đơn vị.
Khi nào định luật khí lý tưởng bị phá vỡ?
Nó rất chính xác ở áp suất và nhiệt độ trung bình cao hơn điểm sôi, nhưng không chính xác ở áp suất cao hoặc gần ngưng tụ, nơi thể tích phân tử và hấp dẫn quan trọng.
Thay đổi một biến ảnh hưởng đến những biến khác như thế nào?
Ở mol cố định, áp suất và thể tích có mối quan hệ ngược lại (định luật Boyle), trong khi thể tích và nhiệt độ tuyệt đối có mối quan hệ trực tiếp (định luật Charles).
Giá trị của R tôi nên dùng là gì?
It depends on units. In SI it is 8.314 J/(mol·K); in litre-atmospheres it is 0.08206 L·atm/(mol·K). This calculator works in SI internally with R = 8.314, so you can enter any units and it reconciles them.
API — dùng máy tính này từ mã
Gọi máy tính này như một điểm kết thúc JSON miễn phí — không cần chìa khóa. Gửi giá trị trường dưới như tham số yêu cầu hoặc JSON. Mọi thứ bạn bỏ qua sẽ sử dụng cùng một mặc định mà trang này đã được điền trước; một tham số không biết là 400, không bao giờ là số 0 im lặng. Đọc toàn bộ tài liệu API →
Điểm kết thúc
GET https://calculator.free/api/v1/ideal-gas-law/
curl
curl "https://calculator.free/api/v1/ideal-gas-law/?solve=volume&pressure=1&pressure_unit=atm&volume=22.4&volume_unit=l&moles=1&temperature=273.15&temperature_unit=k"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/ideal-gas-law/?" + new URLSearchParams({
"solve": "volume",
"pressure": "1",
"pressure_unit": "atm",
"volume": "22.4",
"volume_unit": "l",
"moles": "1",
"temperature": "273.15",
"temperature_unit": "k"
}));
const data = await r.json();
console.log(data.results);
Kết quả là ước tính chỉ cho hướng dẫn chung, không phải là tư vấn tài chính, y tế hoặc thuế.