I don't think there's any simple formula like that. What matters is that the writing draws me in as a reader, and keeps on pulling. The example from
@ckatt really emphasises that point - a bit of information, a bit of suspense, some scene-setting, and overall a hook that says the next sentence is worth reading to find out what's going on.
I'm one of those people who likes to have a good idea of what the location looks like in a story, especially a new location or a character we're seeing for the first time, and when writing I tend to try to paint a picture of what a place or person looks like.
What do you mean by having a "good idea" of the location? I would probably get bored if you spent a page telling me about the character or location, unless what you were telling me was interesting. If that description is fine detail about appearance, then it had better be something spectacularly intriguing, and probably ought to be significant in the story. When I'm writing, I would tend to avoid more than two paragraphs in a row telling the reader about a scene or character, unless there were some entertaining bit of backstory or the like to lighten the impact. In general I'm not much into detailed description of people and places, and where I do put it in, I prefer it to be a part of the story.
I've just taken a quick look at what I did for the start of my first book, Hell of a Deal, and there's about two pages A5 before the first piece of dialogue. Now, that's probably misleading, because it's written 1st person, and the narrator is "talking" direct to the reader, so the distinction between prose and dialogue gets a bit blurred.
Breaking down what I did...
Para 1 - one sentence. "Everyone has their demons, but I buy mine wholesale."
Hopefully, that gets the reader's attention.
Para 2 - a couple of sentences introducing the narrator, with a snarky joke in the last sentence.
Para 3 - some cheery background on the narrator shop, the staff, how things work
Para 4 - a couple of sentences about the neighbourhood
Para 5-9 - explains a bit about the business, the family hardware store turning into a place where tourists and wannabes can buy occult tat, with the serious demonic brokerage in the background.
(That's about 600 words so far)
para 1-14 - Dialogue!!!! Meet the narrator's annoying, arrogant and careless demon-trading best mate from school, destined to be a pain in the proverbial throughout the book, and continuing in that role for the rest of the series.
That's it - about 850 words. Scene break. Next up is the start of bad things happening.
When I looked at my space opera, Streamrider, the first dialog is about 1.3k words in. However, breaking down the opening para or two has a similar pattern...
Para 1 - "Lois stepped into the slipstream for the first time in her life, running from a bad day, a bad relationship and a thug with a knife." Hopefully, that catches the reader's attention...
OK, there's another two sentences, but it's very much stepping straight into the action, whilst dropping hints about the character... (I hope). The dialogue 1.3k words later are when the "initial panic" is all over and the story quietens down for a while.
Once I've done with the Lois character, the next chunk of the chapter tells the story of the "thug with a knife", relatively light on the dialogue, quite busy with description and background, but all woven into an action sequence. I think it's quite fast-paced, without a lot of dialogue.
Overall, the first half of the first chapter, just under 5k words, provides an introduction to a pair of characters and a world, and in a sense it is an infodump, but spread across two scenes, both done as action sequences. How well it works is another matter, but the aim was a balance of action, description, world-building, story and establishing something about the conflict between the two characters.
Once I start poking at it, I can see that I've taken a different approach with the two books in terms of when dialogue appears, but in both cases I've tried to intersperse description with activity.
(If it's any help, all of the above is within the samples on Amazon.)