Compare the ferry and BART to the same address in Oakland. San Francisco Bay Ferry lists a route from downtown San Francisco to Oakland Jack London Square and Main Street Alameda. Check the stop sequence for the departure you want and the specific gate. San Francisco Bay Ferry Oakland and Alameda
Compare both journeys to the same Oakland door
For the rail option, 12th St./Oakland City Center is near Old Oakland and Chinatown. Use the walk from that station and the walk from the ferry dock, then compare both complete trips from your San Francisco starting point. BART 12th St Oakland City Center station
A waterfront stop can make the ferry itself part of the day. A late show or a hotel closer to a rail stop may favor BART. Check the return independently if you are going back the same night. Decide where you will switch modes if conditions or wait times change.
The Wayfinder Newsletter: one free weekly email with the week's new guides from the Wayfinder publications, some of them before they're published on the sites. You choose which publications you get.