It is 489 miles according to Google Maps.
As one who has lived there, your best bet is to drive straight down I-5 and take the Albany exit to Corvallis and then to Newport. It takes 1 hour and 25 minutes minutes to drive from the Portland Airport to Corvallis, Oregon. Then another 1 hour and 25 minutes from Corvallis to Newport, Oregon. So, 2 hours and 50 minutes.
About 2 hours maybe a little less
It is 774 miles and an estimated driving time of 13 hours and 28 minutes according to Google Maps
Yosemite National Park is about 2,200 miles away from Danville, Kentucky. It will take about 34 hours to drive from Danville to Yosemite and would probably be divided into 4 days of driving with a 7-hour drive each day.
Google Maps estimates the driving time as 2 hours and 47 minutes.
Yosemite National Park is about 103 miles away from Visalia, California. A reasonable drive time of about 2 hours should be expected.
The distance between Death Valley National Park and Yosemite National Park is about 300 miles. This equates to a drive time of about 6 hours.
Anaheim is about 340 miles away from Yosemite National Park. This means that it would taker about 6 hours to drive to and from the two locations.
The distance between Santa Cruz and Yosemite National Park is approximately 190 miles. This means that a total non-stop drive time will take about 3 hours and 30 minutes to reach yosemite from Santa Cruz.
It is about 152 miles between Seqouia National Park and Yosemite National Park. Although, it depends on which park entry you will be entering Yosemite from. The drive will take approximately 3 hours and 12 minutes to complete, according to Google Maps.
Alabama is about 2,165 miles away from Yosemite National Park. I would recommend flying to a closer city and renting a car to visit Yosemite, or else a drive from Alabama to Yosemite could take as long as 35 hours non-stop.