Short answer: most websites for a small business cost between $2,500 and $15,000 to build when you hire someone in the US, plus a few hundred dollars a year to run. A one-page landing page costs $1,200–$3,500 with a freelancer. An online store costs $3,000–$12,000 with a freelancer and $8,000–$28,000 with an agency. Doing it yourself on a builder such as Wix, Squarespace or Shopify costs a monthly plan and 20–40 hours of your time. These are market ranges across all sizes; the cards above show your estimate, the part of each range that fits the size and features you picked.
Averages you may see quoted are higher: Clutch reports an average web design project of $38,105 taking about seven months, while also saying that most projects cost under $10,000. A few large projects pull the average up. The typical price is the range above.