It depends on the terrain, grade, weather, your fitness level, physical and mental stamina and determination, etc.
There are some ways to get a general estimate of how long a hike should take. Most hikers average 2 to 3 miles per hour, so a 5-mile hike could take around 2 hours. Some speed hikers push the throttle at 4 to 5 miles per hour. Tough inclines might reduce your pace to 1 mile per hour, and off-trail hiking might cut that in half. There’s no good or bad hiking pace. Just go however fast or slow you want, and try not to compare yourself to any “local legends” who are crushing the trail on Fastest Known Time. »
Side note » A typical thru-hiker takes 5 to 7 months to completing the entire 3,525 km / 2,190 mile Appalachian Trail (A.T.), from Maine to Georgia. The average is a week or two shy of six months.
Also » Female Hiker / Trail and Summit / Love Life Be Fit / Section Hiker