Usually, you'll see these provided as a range, allowing the company a little bit of room for error. So, instead of saying that it expected exactly $6 million in earnings in 2024, a company might say it will have $5 million to $7 million in earnings for the year. Depending on the metric and where you are in the period, this can be assumed to be more or less accurate (although they do try to be as accurate as possible).
Typically, companies err on the conservative side with guidance, since people are always happy to see their company has made more money, rather than less.
Guidance vs. analysts' estimates
There's another type of financial estimate for companies that is related to guidance: analysts' estimates. Unlike guidance, analysts' estimates come from outside of the company, with the major analysts who cover a particular company providing their best shot at calculating how a company will perform before the live numbers appear.
These analysts' estimates may be combined and provided as a single number, but they are actually the result of several experts weighing in on where they expect earnings and expenses to be in the future. They, of course, don't have all the same information as someone internal to a company, so the most important of these two types of analyses is the internal guidance that's issued. It can be argued, though, that analysts' estimates provide an unbiased balance to company guidance.