Skip to content

We scraped 1,000 books. Here is what the price and rating data shows.

Published 2026-11-25 · source: books.toscrape.com · 1,000 rows

Price is essentially flat across ratings: mean price for a one-star book (£34.56) and a five-star book (£35.37) differ by less than £1. In this catalogue rating does not predict price — which is the kind of thing you only learn by measuring instead of assuming.

Price distribution

BandBooks
£10–20196
£20–30206
£30–40195
£40–50205
£50+198

Min £10 · median £35.98 · mean £35.07 · max £59.99

Rating mix and price by rating

RatingBooksMean price
One226£34.56
Two196£34.81
Three203£34.69
Four179£36.09
Five196£35.37

Method

  • 50 category pages fetched once each, 2-second delay, single user agent identifying the research.
  • Fields captured: title, displayed price string, star-rating class, stock wording.
  • Price parsed by stripping non-numeric characters; rating taken from the class name, not the visual.
  • Aggregates computed on all 1,000 rows; no sampling, no imputation.

A public sandbox site published for scraping practice; no personal data, no login, no rate limits hit.

Check the numbers yourself

The full 1,000-row file and the aggregate summary are published, with SHA-256 hashes on /open-data.