The New York Times Company generated more than $709 million in digital revenue last year, growing at a pace that suggests it will meet its stated goal of $800 million in digital sales by the end of 2020.

The results prompted the company to set another lofty target: “To grow our subscription business to more than 10 million subscriptions by 2025,” Mark Thompson, the chief executive, said in a statement announcing the company’s fourth-quarter financial results.

More than 3.3 million people pay for the company’s digital products, including its news, crossword and food apps, a 27 percent jump from 2017. The total number of paid subscriptions for digital and print reached 4.3 million, a high.

Online subscription revenue gained nearly 18 percent to reach $400 million in 2018, while digital advertising rose 8.6 percent, to $259 million. In the last three months of the year, digital subscription sales grew at a slower pace, about 9 percent, to $105 million. That slowdown was partly the result of an extra week in the fourth quarter of 2017 and partly the result of marketing efforts such as introductory discounts for online access. Those offers attract new readers who bring in less revenue — but the company expects many of them to become full subscribers over time.