Here's how much money you'd have if you invested $1,000 in Costco 10 years ago
A Costco Wholesale warehouse sign is seen outside a store in Silver Spring, Maryland, on Aug. 5, 2023.

From hot dogs to gas, Costco is already known for offering its members steep discounts on a wide array of items. Now, members will be able to save money on doctor's visits too. On Monday, Sesame, a health-care marketplace that connects patients with doctors, announced a partnership with Costco, allowing members to get discounts on medical services. Sesame says Costco members will be eligible for its "best pricing," which includes virtual primary care appointments for $29 and online mental health therapy for $79. "By partnering with Sesame, Costco is providing its members access to Sesame's marketplace of low-price healthcare services, virtually or in-person with a provider, all at an exclusive discount," the Sept. 25 press release reads.

How much an investment in Costco is worth

Costco reported its fiscal fourth-quarter earnings after the closing bell on Sept. 26. Shares are up about 21% year to date. For the quarter, Costco reported revenue of $78.9 billion versus the $77.9 billion analysts anticipated, according to LSEG. The company also reported earnings per share of $4.86, which beat the $4.79 analysts' expected. Here's how much money you'd have if you had invested $1,000 in Costco one, five and 10 years ago. CNBC's calculations are based on Costco's Sept. 25 closing share price of $558.62 and doesn't account for price movement due to the company's latest quarterly earnings report.

If you had invested $1,000 in Costco a year ago, your investment would be worth about $1,171 as of Sept. 25, according to CNBC's calculations. If you had put $1,000 in Costco five years ago, your investment would have more than doubled to $2,498 as of Sept. 25, according to CNBC's calculations. And if you had invested $1,000 in Costco a decade ago, it would have soared to $5,194 as of Sept. 25, according to CNBC's calculations.

Before you invest, do your due diligence