---
title: "Baryon acoustic oscillations"
description: "Learn how sound in the early Universe left a 147 Mpc ruler in the galaxy distribution, how surveys count pairs to find it, and how DESI uses it."
canonical_url: "https://sandboxphysics.com/stories/baryon-acoustic-oscillations/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/baryon-acoustic-oscillations/"
last_modified: "2026-11-17"
---

# Baryon acoustic oscillations

Sandbox Physics · 2026-11-14

Start with a plain question: how can counting galaxy pairs measure the Universe? Follow a sound wave from the early plasma to a 147 Mpc ruler, learn how pair counts reveal it and how a wrong distance distorts it, then measure a small piece of DESI data yourself and read how DESI turns the ruler into distances.

1. L1 · Concept

   ## [How can pairs of galaxies measure the universe?](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/how-galaxy-pairs-measure-the-universe/)

   Early-universe sound left galaxies slightly more likely to sit 147 Mpc apart. Comparing how big that spacing looks with its known length gives distance.

2. L1 · Chapter

   ## [How far sound travelled before the drag epoch](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/how-far-sound-travelled-before-the-drag-epoch/)

   Derive the sound speed of the photon-baryon fluid, integrate it to the drag epoch, and see why more baryons make the cosmic ruler shorter.

3. L2 · Chapter

   ## [Counting galaxy pairs against a random catalogue](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/counting-galaxy-pairs-with-randoms/)

   Define the correlation function, build the Landy-Szalay estimator from data and random pairs, and estimate its errors by leaving out pieces of the survey.

4. L3 · Chapter

   ## [Reading the ruler along and across the line of sight](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/along-and-across-the-line-of-sight/)

   A wrong distance scale stretches the acoustic shell into an ellipse. Derive the two dilation parameters, fit them in wedges, and judge a detection.

5. L3 · Method

   ## [Measure a correlation function from a DESI data patch](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/measure-a-desi-patch-correlation-function/)

   Run one Python script on 15,699 real DESI galaxies, get the correlation function with jackknife errors, and see why this small patch cannot find the BAO.

6. L3 · Paper guide

   ## [How to read the DESI BAO results](https://sandboxphysics.com/stories/baryon-acoustic-oscillations/reading-desi-bao-results/)

   Read the DESI 2024 and DR2 BAO papers: what a distance ratio over the sound horizon means, how reconstruction and the error budget work, and what remains open.
