Request a demo

Public dataset · Government, society and transport

London Bicycle Hires in BigQuery

The london_bicycles dataset has 83 million hires from London's public cycle hire scheme with start and end station, times and duration, plus a station table. It is 9.6 GiB and stored in the EU multi-region, so you must run queries in the EU and cannot join it with US datasets.

bigquery-public-data.london_bicycles · Transport for London · EU · Sizes measured November 23, 2026

2tables
9.6 GiBlogical size
83,435,666rows
$0.06to scan every column once, on-demand

bigquery-public-data.london_bicycles holds London's public cycle hire data from Transport for London. Unlike most public datasets it is located in the EU multi-region. Neither table has a description in the metadata.

cycle_hire has one row per hire with rental_id, duration (seconds) and duration_ms, bike_id and bike_model, start and end date, and start and end station id and name. It was last modified in July 2025. cycle_stations has 800 stations with coordinates, number of docks and bikes, install and removal dates.

Tables and sizes

TableRowsSizeFull scanLayout
cycle_hire
One row per hire.
83,434,8669.6 GiB$0.06None
cycle_stations
Stations with coordinates and docks.
80078.2 KiBunder $0.01None

Full scan = every column of the table at the on-demand list price of $6.25 per TiB, before your free TiB each month. Selecting fewer columns costs proportionally less. See BigQuery pricing.

Example queries

Busiest start stations, grouped by name

Scans 2.3 GiB · $0.01 on-demand

Grouping on the station name string reads that whole text column.

SELECT start_station_name, COUNT(*) AS hires
FROM `bigquery-public-data.london_bicycles.cycle_hire`
GROUP BY start_station_name
ORDER BY hires DESC
LIMIT 20;

Busiest start stations, grouped by id and joined to stations

Scans 635 MiB · under $0.01 on-demand

The cheaper version: group on the integer start_station_id and take names and coordinates from cycle_stations. About a quarter of the bytes.

SELECT
  s.name,
  s.docks_count,
  s.latitude,
  s.longitude,
  COUNT(*) AS hires
FROM `bigquery-public-data.london_bicycles.cycle_hire` AS h
JOIN `bigquery-public-data.london_bicycles.cycle_stations` AS s
  ON h.start_station_id = s.id
GROUP BY s.name, s.docks_count, s.latitude, s.longitude
ORDER BY hires DESC
LIMIT 20;

Hires and average duration by hour of day

Scans 1.2 GiB · under $0.01 on-demand

start_date is a TIMESTAMP, and EXTRACT(HOUR FROM start_date) returns the hour in UTC. Add AT TIME ZONE 'Europe/London' inside EXTRACT for London local time.

SELECT
  EXTRACT(HOUR FROM start_date) AS hour,
  COUNT(*) AS hires,
  ROUND(AVG(duration) / 60, 1) AS avg_minutes
FROM `bigquery-public-data.london_bicycles.cycle_hire`
GROUP BY hour
ORDER BY hour;

Every hire from one station with SELECT * (expensive)

Scans 9.6 GiB · $0.06 on-demand

No partitioning or clustering, so filtering one station still reads every column of every hire.

SELECT *
FROM `bigquery-public-data.london_bicycles.cycle_hire`
WHERE start_station_id = 154;

Querying it cheaply

  • Run queries with the processing location set to EU. Querying from a US location fails with a dataset not found in location error, and results can only be written to EU datasets.
  • Station names are the heaviest columns. Group by station id and join names from the 800-row cycle_stations table.
  • cycle_hire is not partitioned or clustered, so date and station filters do not reduce bytes.
  • On-demand pricing in the EU multi-region is the same $6.25 per TiB as in the US.

FAQ

How much does it cost to query London bicycles in BigQuery?

Aggregate queries read 0.6 to 2.3 GiB, and SELECT * reads 9.6 GiB, about $0.06 at the $6.25 per TiB on-demand list price. Everything fits easily in the free 1 TiB a month.

Is the London bicycles dataset free?

Yes for storage: the data sits in the bigquery-public-data project and Google pays to store it. You pay for the queries you run from your own project. On-demand, the first 1 TiB scanned each month is free, then you pay per TiB scanned (see BigQuery pricing).

Why do I get "Not found: Dataset bigquery-public-data:london_bicycles"?

The dataset is in the EU multi-region and your query ran in another location, usually US. Set the query location to EU in the console's query settings or with --location=EU in the bq CLI.

Can I join london_bicycles with a US dataset?

Not in one query. BigQuery queries run in a single location. Copy the data you need into datasets in the same location first.

All public datasets · BigQuery cost queries · Pricing calculator

Cut BigQuery spend without guessing

Masthead attributes compute and storage cost to every project, user, pipeline and table, finds unused and dead-end tables, and shows where editions or on-demand pricing is cheaper. Mnemonic cut its BigQuery compute cost by 20% within 24 hours of onboarding.