Catalog/chem-grahams-law

Chemistry

Graham's effusion ratio API

Computes the effusion/diffusion rate ratio of two gases via Graham's law rate1/rate2 = sqrt(M2/M1), accepting molar masses or formulas, and identifies the faster gas. Answers 'How much faster does H2 effuse than O2?', 'relative diffusion rate of two gases'.

Price$0.04per request
MethodPOST
Route/v1/chemistry/grahams-law
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
chemistrygrahams-laweffusiondiffusiongasrate-ratiomolar-masskinetic-theory
API URLhttps://x402.hexl.dev/v1/chemistry/grahams-law
Integration docs
Example request
{
  "formula1": "H2",
  "formula2": "O2"
}
Example response
{
  "molarMass1": 2.016,
  "molarMass2": 31.998,
  "rateRatio": 3.983971,
  "faster": "gas1",
  "interpretation": "gas1 effuses 3.984× as fast as gas2",
  "formula": "rate1/rate2 = sqrt(M2/M1)"
}
Input schema
{
  "type": "object",
  "properties": {
    "molarMass1": {
      "type": "number"
    },
    "molarMass2": {
      "type": "number"
    },
    "formula1": {
      "type": "string",
      "examples": [
        "H2"
      ]
    },
    "formula2": {
      "type": "string",
      "examples": [
        "O2"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}