Sample real estate data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one fictional home listed in 2024 in a U.S. city: property type, bedrooms, bathrooms, square feet, year built, asking price, status at year end, sale price and days on market. Prices are invented for practice and are not market data for any city.
More practice tables like this one: all 14 newer sample datasets.
First rows
point at a column to light it up
| listing_idtext | listing_datedate | citytext | statetext | property_typetext | bedroomsnumber | bathroomsnumber | square_feetnumber | year_builtnumber | list_pricenumber | statustext | sold_pricenumber | days_on_marketnumber |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RE150001 | 2024-08-14 | Austin | TX | Condo | 2 | 2 | 1050 | 1984 | 320000 | Sold | 323500 | 67 |
| RE150002 | 2024-10-24 | New York | NY | Single family | 3 | 2.5 | 1640 | 1978 | 860000 | Sold | 853000 | 54 |
| RE150003 | 2024-01-08 | Sacramento | CA | Single family | 5 | 4 | 2670 | 1959 | 543000 | Sold | 548500 | 23 |
| RE150004 | 2024-10-30 | Phoenix | AZ | Condo | 1 | 1.5 | 790 | 1996 | 131000 | Active | 62 | |
| RE150005 | 2024-11-11 | Kansas City | MO | Townhouse | 3 | 3 | 1330 | 1998 | 264000 | Active | 50 | |
| RE150006 | 2024-09-29 | Richmond | VA | Townhouse | 3 | 2.5 | 1540 | 2012 | 299000 | Sold | 301000 | 21 |
| RE150007 | 2024-03-03 | Houston | TX | Condo | 2 | 2.5 | 1170 | 2004 | 241000 | Sold | 239500 | 86 |
| RE150008 | 2024-03-02 | Newark | NJ | Multi-family | 4 | 3.5 | 2300 | 1964 | 459000 | Sold | 441000 | 31 |
| RE150009 | 2024-06-10 | Hartford | CT | Single family | 4 | 3 | 1900 | 1976 | 308000 | Sold | 301000 | 33 |
| RE150010 | 2024-10-03 | Indianapolis | IN | Single family | 4 | 3 | 2130 | 1959 | 354000 | Sold | 352500 | 47 |
Average list price by property type
USD, 1,000-row file
Show as a table
| property_type | value |
|---|---|
| Multi-family | $594,275 |
| Townhouse | $568,512 |
| Single family | $547,451 |
| Condo | $279,616 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| listing_id | text | Listing number |
| listing_date | date | Listed (2024) |
| city | text | City |
| state | text | Two-letter state code |
| property_type | text | Single family, Condo, Townhouse or Multi-family |
| bedrooms | integer | Bedrooms |
| bathrooms | decimal | Bathrooms (0.5 = half bath) |
| square_feet | integer | Living area |
| year_built | integer | Year built |
| list_price | integer | Asking price (USD, fictional, not market data) |
| status | text | Sold, Pending or Active (as of 2024-12-31) |
| sold_price | integer | Blank unless Sold |
| days_on_market | integer | Listing to sale (or to 2024-12-31) |
Practice questions
answers checked in SQL and in Python
Listings by status?
Sold 861; Active 114; Pending 25
SQL
SELECT status, COUNT(*) AS n FROM real_estate_listings GROUP BY status ORDER BY n DESC, statusFile: real-estate-listings-1000
Average sold price per square foot by property type (sold homes)?
Multi-family $299.13; Townhouse $296.76; Single family $271.22; Condo $254.62
SQL
SELECT property_type, ROUND(AVG(1.0*sold_price/square_feet),2) AS ppsf FROM real_estate_listings WHERE status='Sold' GROUP BY property_type ORDER BY ppsf DESCAdd a helper column =sold_price/square_feet, then AVERAGEIFS it by property_type with status = Sold.
File: real-estate-listings-1000
Average days on market for sold homes?
38.8 days
Excel
=AVERAGEIF(K:K,"Sold",M:M)SQL
SELECT ROUND(AVG(days_on_market),1) FROM real_estate_listings WHERE status='Sold'File: real-estate-listings-1000