An autonomous electronic bicycle comprises a frame, a wheel that can be powered by a first electronic motor, and a pedal assembly connected to a pedal motor. The pedal assembly is not mechanically connected to the wheel, but the autonomous electronic bicycle simulates a mechanical connection by powering the rear wheel proportional to the user's pedaling force. The autonomous electronic bicycle uses a virtual gear ratio based on the cadence of the rider, the current incline of the bicycle, and the current speed of the bicycle. The virtual gear ratio can be a ratio between a torque of the set of pedals and a torque of the wheel.