It takes about 20-25 minutes each way. This is one of the best authentic experiences you can get in Istanbul. Ferries are run by a private company. Check out their websites to learn more about their schedules. They also have Nostalgic Bosphorus Tours.