# Matthews coefficient and solvent fraction of a crystal, version 1.0.1

biophys-matthews-coefficient\@1.0.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

## What this page can and cannot show

**Level: Checked against a reference; v̄ stated, N\_A exact; CCP4's printed example: volume and Vm reproduced, solvent explained by its rounded N\_A. Reference kind: our own exact-arithmetic script and a hand-worked case.**

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/biophys-matthews-coefficient) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.0.1

**Level: Checked against a reference; v̄ stated, N\_A exact; CCP4's printed example: volume and Vm reproduced, solvent explained by its rounded N\_A. Reference kind: our own exact-arithmetic script and a hand-worked case.** `biophys-matthews-coefficient@1.0.1`

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

**Verification statement:** Vm = V/(M·Z·n) and Vp = v̄/(N\_A·10⁻²⁴·Vm), the latter Drybench's dimensionally explicit form of the CCP4 documentation's 1/(N·Dp·Vm), re-read and matched by hash 14 November 2026; CCP4's Z is the record's Z·n. The general cell volume is derived, not printed in any source read. N\_A exact, from the SI Brochure and printed separately in CODATA 2018. Reproduces the cell volume and Matthews coefficients of the CCP4 documentation's printed example output at its printed precision; its solvent fractions differ by 0.017 and 0.035 percentage points, which a rescaling to the program's implied N\_A of 0.602e24 removes. Consistent with Kantardjieff and Rupp 2003 at ±1 percentage point. Thresholds are decided on the shortest decimal of each stated double. Compared with a second implementation in Python by a separate agent of the same model family (72 cases, 27 at the edges).

Vm = V/(M·Z·n), with V the unit cell volume, M the molecular mass of one copy (a molar mass in g/mol or kg/mol is read as the same number of Da or kDa: MOLAR\_MASS\_CONSTANT\_ONE), Z the asymmetric units in the cell (centring included) and n the molecules per asymmetric unit, for each n the caller lists (in the caller's order, no duplicates, at most 32). The macromolecule fraction is Vp = v̄·M·Z·n/(N\_A·V) = v̄/(N\_A·10⁻²⁴·Vm), with v̄ the caller's partial specific volume (never assumed) and N\_A exact; never 1.23/Vm. The solvent fraction is 1 − Vp, withheld for a row where it is at or below 0, decided exactly on the shortest decimal of each stated double (by a refined bound where the angles make the cell volume irrational; a row not separated at 2048 bits is withheld as at the bound), never on a rounded 1 − Vp. The general cell volume is derived from V = a·(b × c); the cell's existence is decided exactly on the stated decimal angles (the shortest decimal of each double). CCP4's Z is molecules per cell, the record's Z·n. The served fractions are doubles, each rounded once: near a full cell the macromolecule fraction can print as 1.0000000000000002 beside a positive solvent fraction, the exact test having placed Vp below 1. No probability for each n in 1.0.0.

- **How results are reported:** none: full double precision
- **Uncertainty:** Arithmetic on the caller's values; the error of the partial specific volume is not propagated.
- **Every reply through it says:** The macromolecule and solvent fractions rest on the partial specific volume you stated; they estimate a crystal's composition, not measure it. Avogadro's constant is exact here, so programs that use a rounded constant print slightly different solvent fractions. It gives no probability for each number of molecules.
- **Reference, as its record states it:** exact arithmetic: Python fractions and 60-digit decimal sqrt, sin and cos, π to 60 digits; the cell volume by three routes; written before the engine
- **Level confirmed by this project's ruling of** 14 November 2026

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

264 cases in 4 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 190 agree within the tolerance the file states, 74 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 48 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-11
  - **Reference:** Python standard library (fractions, decimal), 3.13.18; licence PSF-2.0
  - **Tolerance as the file states it:** Cell volume, Matthews coefficient and fractions relative 1e-12 (the cell radicand formed as 4·sin σ·sin(σ−α)·sin(σ−β)·sin(σ−γ) from the stated decimal angles, which keeps its digits near a flat cell); the cell's existence decided exactly on the stated decimal angles; a solvent fraction at or below 0 withheld per row (SOLVENT\_FRACTION\_NOT\_POSITIVE), decided exactly on the stated values as Vp ≥ 1 ⇔ ρ ≤ K²; a solvent fraction below 2⁻¹⁰ formed as (ρ − K²)/(√ρ·(√ρ + K)), so the cases just inside the bound meet the same relative 1e-12; no expected value is near zero: the near-zero floors are nominal; the echoed n, withheld rules, statuses, codes and units exact

- **File 2, 72 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** every number relative 1e-12 (absolute 1e-312 below 1e-300, in each value's unit); a solvent fraction below 2^-10 is checked against the second implementation only; withheld rows, statuses and codes exact

- **File 3, 142 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** every number relative 1e-12 (absolute 1e-312 below 1e-300, in each value's unit); a solvent fraction below 2^-10 is checked against the second implementation only; withheld rows, statuses and codes exact

- **File 4, 2 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** every number relative 1e-12 (absolute 1e-312 below 1e-300, in each value's unit); flags, statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

### What was not checked

Matthews 1968 itself (not read: the publisher refused automated access); International Tables Vol. B for the general cell volume (derived here, three routes agree) and Vol. A for the bound of 192 asymmetric units (a known bound, not read here); the CCP4 program (never read or run; its printed example is a published check); fractional molecules per asymmetric unit (special positions); Z from a space-group symbol; probabilities (a separate later tool, biophys\_matthews\_probability); a cell whose radicand is rational without every angle in the table and equals K² exactly, or lies within about 2⁻²⁰⁰⁰ of it, is withheld as at the bound without proof that it is not just inside (no such input is known). The cell volume's steps: a·b, a·b·c, the radicand 4·sin σ·sin(σ−α)·sin(σ−β)·sin(σ−γ), M·Z·n and N\_A·10⁻²⁴·Vm, each tested as formed in doubles, so a radicand that is subnormal or underflows to 0 at vanishing angles no crystal has is refused (the radicand's test added 14 November 2026).

### Definition or model

A closed form: the result follows from the inputs by the equations alone.

### Equations

**Equation 1**

```equation
V = a·b·c·√(1 − cos²α − cos²β − cos²γ + 2·cosα·cosβ·cosγ)
```

| Symbol | Meaning and unit |
| --- | --- |
| V | unit cell volume, Ao^3 |
| a, b, c | cell lengths, Ao |
| α, β, γ | cell angles (α between b and c, β between a and c, γ between a and b), stated in degrees: take their cosines in degrees, or convert with 1° = (π/180) rad, deg |

Source: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the Green Book), 3rd edition, RSC Publishing 2007, p. 42, section 2.8: the fundamental translation vectors a, b, c and the unit cell angles α, β, γ; the closed form is derived from V = a·(b × c), not printed in any source read, 3rd edition (2007), 2012 second printing, IUPAC's searchable PDF (not the publisher's copy); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning dc9cf52d6cf3. Free to read (free to read from IUPAC; Copyright 2007 IUPAC, no reuse licence found (definitions and values used, not text)), checked 2026-11-11. No erratum found (searched Crossref update metadata (updated-by, update-to; carries Retraction Watch)), 2026-11-11.

**Equation 2**

```equation
1 Å = 10⁻¹⁰ m
```

| Symbol | Meaning and unit |
| --- | --- |
| Å | ångström, Ao |

Source: IUPAC, Quantities, Units and Symbols in Physical Chemistry (the Green Book), 3rd edition, RSC Publishing 2007, p. 135, section 7.2: ångström Å = 10⁻¹⁰ m, 3rd edition (2007), 2012 second printing, IUPAC's searchable PDF (not the publisher's copy); read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning dc9cf52d6cf3. Free to read (free to read from IUPAC; Copyright 2007 IUPAC, no reuse licence found (definitions and values used, not text)), checked 2026-11-11. No erratum found (searched Crossref update metadata (updated-by, update-to; carries Retraction Watch)), 2026-11-11.

**Equation 3**

```equation
1° = (π/180) rad
```

| Symbol | Meaning and unit |
| --- | --- |
| ° | degree of plane angle, deg |
| rad | radian, rad |

Source: BIPM, The International System of Units (SI), 9th edition, 2019, table 8: degree, 1° = (π/180) rad, p. 140, section 4, 9th edition (2019), version 4.01 (2026), English, BIPM's PDF; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 5442eea2c680. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Crossref update metadata (updated-by, update-to; carries Retraction Watch)), 2026-11-11.

**Equation 4**

```equation
Vm = V/(M·Z·n)
```

| Symbol | Meaning and unit |
| --- | --- |
| Vm | Matthews coefficient, Ao^3/Da |
| V | unit cell volume, Ao^3 |
| M | molecular mass of one copy, Da |
| Z | asymmetric units in the cell (nasymu) |
| n | molecules per asymmetric unit (nmols\_asu) |

Source: CCP4, MATTHEWS\_COEF (CCP4: Supported Program) documentation; originator M. Isupov, additions C. Ballard, A. Ashton, E. Dodson, section PROGRAM FUNCTION, Matthews Number: Vm = V/(M·nasymu·nmols\_asu) = V/(M·Z), undated web page, as retrieved on 11 November 2026; its example output prints ccp4\_version 4.1, 1/25/02; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning fd83b947b3a9. Free to read (free to read; no licence stated on the page (read 11 November 2026), held for the General Counsel; formulae and printed values used as facts, not text), checked 2026-11-11. No erratum found (searched the page itself (no DOI; no errata or version notice)), 2026-11-11.

**Equation 5**

```equation
Vp = v̄/(N_A·10⁻²⁴·Vm)
```

| Symbol | Meaning and unit |
| --- | --- |
| Vp | macromolecule volume fraction of the cell |
| v̄ | partial specific volume, stated by the caller, cm^3/g |
| N\_A | Avogadro constant; with 1 Da taken as (1 g/mol)/N\_A (MOLAR\_MASS\_CONSTANT\_ONE), N\_A·10⁻²⁴·Vm is in cm³/g, so Vp is a pure number, 1/mol |
| 10⁻²⁴ | cm³ per Å³ (1 Å = 10⁻⁸ cm) |
| Vm | Matthews coefficient, Ao^3/Da |

Source: CCP4, MATTHEWS\_COEF (CCP4: Supported Program) documentation; originator M. Isupov, additions C. Ballard, A. Ashton, E. Dodson, section Protein fraction: Vp = M·Z·u/(V·Dp) = 1/(N·Dp·Vm), with 1/Dp the partial specific volume v and u the mass of a hydrogen atom taken as 1/N g, undated web page, as retrieved on 11 November 2026; its example output prints ccp4\_version 4.1, 1/25/02; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning fd83b947b3a9. Free to read (free to read; no licence stated on the page (read 11 November 2026), held for the General Counsel; formulae and printed values used as facts, not text), checked 2026-11-11. No erratum found (searched the page itself (no DOI; no errata or version notice)), 2026-11-11.

Two readings: CCP4, MATTHEWS\_COEF (CCP4: Supported Program) documentation; originator M. Isupov, additions C. Ballard, A. Ashton, E. Dodson, section Protein fraction: Vp = M·Z·u/(V·Dp) = 1/(N·Dp·Vm), with 1/Dp the partial specific volume v and u the mass of a hydrogen atom taken as 1/N g can be read as v̄ stated by the caller and N\_A exact (SI), so Vp = v̄/(N\_A·10⁻²⁴·Vm), derived from the printed form or as the page's own constant form Vp = 1.66·v/Vm = 1.23/Vm, on an outdated N and v fixed for proteins. This project takes v̄ stated by the caller and N\_A exact (SI), so Vp = v̄/(N\_A·10⁻²⁴·Vm), derived from the printed form, because this project's ruling: v̄ is required, N\_A exact, and neither the printed constant nor the program's implied one is served. Taking the page's own constant form Vp = 1.66·v/Vm = 1.23/Vm, on an outdated N and v fixed for proteins would give a different result.

**Equation 6**

```equation
solvent fraction = 1 − Vp
```

| Symbol | Meaning and unit |
| --- | --- |
| 1 − Vp | solvent volume fraction of the cell |
| Vp | macromolecule volume fraction |

Source: CCP4, MATTHEWS\_COEF (CCP4: Supported Program) documentation; originator M. Isupov, additions C. Ballard, A. Ashton, E. Dodson, section Protein fraction (Vp, the fraction of protein volume) and the example output's percent\_solvent, undated web page, as retrieved on 11 November 2026; its example output prints ccp4\_version 4.1, 1/25/02; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning fd83b947b3a9. Free to read (free to read; no licence stated on the page (read 11 November 2026), held for the General Counsel; formulae and printed values used as facts, not text), checked 2026-11-11. No erratum found (searched the page itself (no DOI; no errata or version notice)), 2026-11-11.

**Equation 7**

```equation
solvent content from Vm and v̄ as Matthews (1968) computed it
```

| Symbol | Meaning and unit |
| --- | --- |
| Vm | Matthews coefficient, Ao^3/Da |
| v̄ | partial specific volume, cm^3/g |

Source: Kantardjieff KA, Rupp B, Matthews coefficient probabilities: improved estimates for unit cell contents of proteins, DNA, and protein-nucleic acid complex crystals, Protein Sci 12:1865-1871 (2003), section Materials and methods ("V\_M and solvent content were calculated according to Matthews (1968)"); Results (an average psv of 0.74 cm³/g for proteins and 0.50 cm³/g for nucleic acids, used only in cases), version of record, as PMC's HTML (PMC2323984; a mirror, not the publisher's copy); re-read 14 November 2026, when two retrievals hashed 92c5abc0… and the value below (the page's bytes vary between retrievals); the read of 11 November 2026 hashed 0f2575239d5b708432fa41780ea692f1fd7b704777f569ebb86485a1d542ff3d, kept as historical; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 6e6765df20d4. Free to read (free to read on PMC; Copyright 2003 The Protein Society, no reuse licence (values used as facts)), checked 2026-11-11. No erratum found (searched Crossref update metadata (updated-by, update-to; carries Retraction Watch)), 2026-11-11.

**Equation 8**

```equation
N_A = 6.022 140 76 × 10²³ mol⁻¹, exact, as CODATA 2018 prints it: the record's constant, fixed by the SI Brochure
```

| Symbol | Meaning and unit |
| --- | --- |
| N\_A | Avogadro constant, 1/mol |

Source: NIST, Fundamental Physical Constants — Complete Listing, 2018 CODATA adjustment, section the line "Avogadro constant 6.022 140 76 e23 (exact) mol^-1", the ASCII listing of the 2018 adjustment; the current listing (the 2022 adjustment) prints the same exact values; read in full on 2026-11-14 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 8c47c05db62c. Free to read (free to read on NIST's site; no licence stated in the listing (values used as facts), held for the General Counsel), checked 2026-11-14. No erratum found (searched the listing itself), 2026-11-14.

### Conventions

- `MOLAR_MASS_CONSTANT_ONE` = 1 g/mol = 1 Da × N\_A: Fixed by the method; not an argument. A molar mass in g/mol is taken as the relative molecular mass Mr, so Mr g/mol is read as Mr Da; the molar mass constant is taken as exactly the value given here (it differs from it by a negligible amount). Vp uses the same convention.

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| Avogadro constant, exact (N\_A) | 6.02214076e+23 1/mol | BIPM, The International System of Units (SI), 9th edition, 2019, table 1, p. 124, section 2.2 | 2026-11-10 |

### Worked example

Worked example: one case of biophys-matthews-coefficient\@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

**Inputs**

- cell.a = 73.58 Ao
- cell.b = 38.73 Ao
- cell.c = 23.19 Ao
- cell.alpha = 90 deg
- cell.beta = 90 deg
- cell.gamma = 90 deg
- asymmetricUnitsPerCell = 4
- moleculesPerAsymmetricUnit\[0\] = 1
- moleculesPerAsymmetricUnit\[1\] = 2
- molecularMass = 6600 Da
- partialSpecificVolume = 0.74 cm^3/g

**Steps**

1. volume = 66085.781 Ao³, from cell.a, cell.b, cell.c, cell.alpha, cell.beta, cell.gamma; by equation 1; gives cellVolume.
2. matthews = 2.5032493 Ao³/Da, from volume, molecularMass, asymmetricUnitsPerCell, moleculesPerAsymmetricUnit\[0\]; by equation 4; gives candidates\[0\].matthewsCoefficient.
3. fraction = 0.49088156, from partialSpecificVolume, matthews; by equation 5; gives candidates\[0\].macromoleculeFraction.
4. solvent = 0.50911844, from fraction; by equation 6; gives candidates\[0\].solventFraction.

The working, as the case writes it:

```equation
V = 73.58 × 38.73 × 23.19 = 66 085.781 346 Å³ (angles 90°)
Vm = V/(6600 × 4 × 1) = 2.503 249 29 Å³/Da
Vp = 0.74/(0.602 214 076 × 2.503 249 29) = 0.490 881 56
solvent = 1 − Vp = 0.509 118 44. n = 2: Vm = 1.251 624 65, Vp = 0.981 763 11, solvent 0.018 236 89
```

**Answer**

- `cellVolume` = **66085.781 Ao³**
- `candidates[0].matthewsCoefficient` = **2.5032493 Ao³/Da**
- `candidates[0].macromoleculeFraction` = **0.49088156**
- `candidates[0].solventFraction` = **0.50911844**

Where these values came from: our own exact-arithmetic script and a hand-worked case; stored reference values (60-digit decimal; three volume routes agree).

At build the tool returned this answer within the tolerance the file states: Cell volume, Matthews coefficient and fractions relative 1e-12 (the cell radicand formed as 4·sin σ·sin(σ−α)·sin(σ−β)·sin(σ−γ) from the stated decimal angles, which keeps its digits near a flat cell); the cell's existence decided exactly on the stated decimal angles; a solvent fraction at or below 0 withheld per row (SOLVENT\_FRACTION\_NOT\_POSITIVE), decided exactly on the stated values as Vp ≥ 1 ⇔ ρ ≤ K²; a solvent fraction below 2⁻¹⁰ formed as (ρ − K²)/(√ρ·(√ρ + K)), so the cases just inside the bound meet the same relative 1e-12; no expected value is near zero: the near-zero floors are nominal; the echoed n, withheld rules, statuses, codes and units exact.

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `CELL_ANGLES_IMPOSSIBLE`: the three angles do not describe a cell: an angle is not below the sum of the other two, or the three do not sum to below a full turn (the volume's radicand is zero or negative); decided exactly on the stated decimal angles Next: Check the cell angles and their order (alpha between b and c, beta between a and c, gamma between a and b).
- `RESULT_OUTSIDE_DOUBLE_RANGE`: the cell volume, the Matthews coefficient or the macromolecule fraction, or a step in forming them (a·b, a·b·c, the radicand 4·sin σ·sin(σ−α)·sin(σ−β)·sin(σ−γ), M·Z·n and N\_A·10⁻²⁴·Vm, each tested as formed in doubles, so a radicand that is subnormal or underflows to 0 at vanishing angles no crystal has is refused; a cell whose exact volume is at or just above the smallest normal double can be refused, BPP-F22), is not finite or below the smallest normal double (Drybench ruling, 11 November 2026, item 2) Next: Check the cell lengths, the molecular mass and their units; where they are as intended, no change of input makes this computable on these data.
- `DUPLICATE_MOLECULE_COUNT` (invalid input): a number of molecules per asymmetric unit appears twice in moleculesPerAsymmetricUnit

**Input ranges:** cell.a: above 0 Ao; outside it, invalid input (NOT\_POSITIVE). cell.b: above 0 Ao; outside it, invalid input (NOT\_POSITIVE). cell.c: above 0 Ao; outside it, invalid input (NOT\_POSITIVE). cell.alpha: above 0 deg and below 180 deg; outside it, invalid input (OUT\_OF\_RANGE). cell.beta: above 0 deg and below 180 deg; outside it, invalid input (OUT\_OF\_RANGE). cell.gamma: above 0 deg and below 180 deg; outside it, invalid input (OUT\_OF\_RANGE). asymmetricUnitsPerCell: at least 1 and at most 192; outside it, invalid input (OUT\_OF\_RANGE). moleculesPerAsymmetricUnit\[\*\]: at least 1; outside it, invalid input (OUT\_OF\_RANGE). molecularMass: above 0 Da; outside it, invalid input (NOT\_POSITIVE). molecularMass: above 0 g/mol; outside it, invalid input (NOT\_POSITIVE). partialSpecificVolume: above 0 cm³/g; outside it, invalid input (NOT\_POSITIVE).

### Changes

No correction is logged for biophys-matthews-coefficient\@1.0.1.

## Tools that use it

- [`biophys_matthews_coefficient`](https://www.drybench.com/methods/tools/biophys-matthews-coefficient)

## Cite this version

Matthews coefficient and solvent fraction of a crystal. Drybench; biophys-matthews-coefficient\@1.0.1; [https://www.drybench.com/methods/m/biophys-matthews-coefficient/1.0.1](https://www.drybench.com/methods/m/biophys-matthews-coefficient/1.0.1) (accessed \[date\]).
