Owning a portfolio of growth stocks over the long term is a surefire way to build up your wealth to better prepare for retirement. One of the best investors in the world, Warren Buffett, made a fortune out of buying and owning strong companies over decades. But how do you determine what to invest in?
One sector with great prospects is technology. Technology stocks are in a sweet spot as digitalization and artificial intelligence (AI) create strong demand for cloud computing and online services. Companies that sell subscription services (also called SaaS companies) offer an even better investment proposition as they lock in their customers for the long term, providing good revenue visibility. Such businesses usually also boast large total addressable markets that offer ample opportunities for long-term growth.
Here are three attractive technology stocks you can consider buying and owning.

Image source: Getty Images.
1. Atlassian
Atlassian (TEAM 0.54%) offers a cloud computing platform that serves up team collaboration and work management software to enable organizational teams to work better and more efficiently. Atlassian saw its business gain traction over the past three years, with revenue and gross profit increasing at healthy clips, as shown in the table below. Free cash flow also similarly improved over the same period.
Metric | 2023 | 2024 | 2025 |
---|---|---|---|
Revenue | $3.535 billion | $4.359 billion | $5.215 billion |
Gross profit | $2.901 billion | $3.555 billion | $4.320 billion |
Gross profit margin | 82.1% | 81.6% | 82.8% |
Free cash flow | $842.299 million | $1.415 billion | $1.416 billion |
Data source: Atlassian. Fiscal years end June 30.
The company has more than 300,000 customers across all industries, and its customers are also spending more. Customers with more than $100,000 in annual recurring revenue increased from 38,726 in the fourth quarter of fiscal 2023 to 51,978 in the latest quarter. In addition, more than 500 customers spent more than $1 million. Atlassian expects year-over-year revenue growth of around 18% for fiscal 2026, along with a gross profit margin of 83.5%.
Atlassian intends to focus on its three strategic priorities to spur continued growth: enterprise, system of work, and artificial intelligence. Management is infusing AI innovations into its cloud software, with AI interactions increasing nearly 20-fold year over year. For the System of Work, Atlassian introduced its Teamwork Collection, which gives every user a common set of collaboration apps across their organization. As for enterprises, Atlassian intends to help businesses further collaboration opportunities and will market itself to enterprises that have the budget to spend more. Atlassian also signed a multi-year partnership with Google Cloud to deliver advanced AI capabilities, and this innovative move should help boost customers' productivity and increase collaboration. Management identified a $67 billion total addressable market that is growing at 13% per annum, thus giving the company ample opportunities to further increase its top and bottom lines.
2. Snowflake
Snowflake (SNOW -0.96%) offers the AI data cloud, which allows organizations to unite their disparate data, securely share data, and gain insights through analytics. Businesses eagerly embraced Snowflake's solutions, causing revenue and gross profit to trend higher over the years, as shown in the table below. Free cash flow has also improved as the business has grown.
Metric | 2023 | 2024 | 2025 |
---|---|---|---|
Revenue | $2.066 billion | $2.806 billion | $3.626 billion |
Gross profit | $1.348 billion | $1.908 billion | $2.412 billion |
Gross profit margin | 65.2% | 68% | 66.5% |
Free cash flow | $495.799 million | $750.159 million | $883.962 million |
Data source: Snowflake. Fiscal years end Jan. 31.
The strong performance has continued into the first half of fiscal 2026. Revenue climbed 28.8% year over year to $2.2 billion, while gross profit increased by 29% year over year to $1.47 billion. Free cash flow generation was healthy at $240.3 million. The business reported remaining performance obligations of $6.9 billion, growing by 33% year over year. Total customer count continued to increase, rising by nearly 19% year over year to 12,062. Customers were also spending more, with the number of customers with more than $1 million in product revenue climbing 30% year over year to 654. Snowflake provided solid guidance for fiscal 2026, projecting a 27% year-over-year revenue growth.
Snowflake is not just introducing innovations within its software, but it is also collaborating to increase its reach and improve functionality. In June, the company announced a strategic initiative with Acxiom, part of the Interpublic Group of Companies, to build and deliver an AI-powered marketing data infrastructure that helps brands to leverage AI for marketing. Snowflake boasts a net revenue retention rate of 125% and management identified a total addressable market of $170 billion in 2024 that looks set to more than double to $355 billion by 2029.
3. Salesforce
Salesforce (CRM 0.72%) is a leading customer relationship management (CRM) software provider offering its AI Agentforce solution for enterprises. Salesforce steadily increased its revenue over the years, while net income has shot up sharply over the same period. Investors should also note that the business is churning out increasing levels of free cash flow.
Metric | 2023 | 2024 | 2025 |
---|---|---|---|
Revenue | $31.352 billion | $34.857 billion | $37.895 billion |
Operating income | $1.030 billion | $5.011 billion | $7.250 billion |
Net income | $208 million | $4.136 billion | $6.197 billion |
Free cash flow | $6.313 billion | $9.498 billion | $12.434 billion |
Data source: Salesforce. Fiscal years end Jan. 31.
Salesforce's robust performance continued into the first quarter of fiscal 2026, with revenue rising 7.6% year over year to $9.8 billion. Operating income climbed 13.6% year over year to $1.9 billion, but net income stayed flat year over year at $1.54 billion. The CRM software specialist also churned out a positive free cash flow of $6.3 billion, up 3.5% year over year. Salesforce's remaining performance obligations increased by 12% year over year to $29.6 billion, demonstrating continued growth for the business. The icing on the cake is the declaration of a quarterly dividend of $0.416, higher than the previous year's $0.40.
The company is growing through a mix of software innovations and acquisitions. In June, Salesforce launched Agentforce 3, giving its customers the ability to scale AI agents while improving observability, thus allowing these organizations to track how AI agent activity improves their staff's productivity. The company also acquired Informatica, a leader in enterprise AI-powered data cloud management, which will help to enhance Salesforce's agentic AI deployment. Management upped fiscal 2026's revenue guidance from a 7% to 8% year-over-year growth to an 8% to 9% year-over-year growth, signalling confidence in the company's prospects. Salesforce estimates that its total addressable market will reach $290 billion by 2026, and is growing at a 13% compound annual growth rate.