There is no universal number of minutes that works for every niche. What matters is the range of running times where your viewers most often stay to the end.
How do you know what length fits your niche?
Find the videos that broke out in your niche and check how long they were.
Related questions
What should you do when viewers leave halfway through a video?
How long does it take to see whether a change in video length worked?
Is it worth splitting a long video into several shorter ones?
Does a longer video always mean more watch time?
How do I find YouTube video ideas that actually work?
Does changing topics hurt a YouTube channel?
How do I analyze competitor channels on YouTube?
What is an outlier video on YouTube?
When should you ask viewers to subscribe?
What is a good audience retention rate on YouTube?
Should you introduce yourself at the start of a video?
How long should a YouTube intro be?
See all questions