Bicycling to Porvoo from Helsinki is a popular day trip. Follw the road 170! For a longer but even more interesting route find your way through Nickilä and Hinthaara.
The distance is about 50 kilometers and takes about two hours without stops. A recommended option is to take ship or a bus one of the directions. Or why not stay over night in Porvoo!