Transmission for a bicycle with a first shaft, a second shaft, a third shaft, a fourth shaft, a fifth shaft, a sixth shaft, a first partial transmission (HRS1, HRS2), a second partial transmission, a first freewheel, a second freewheel, a first brake, a second brake and a housing; wherein the first partial transmission (HRS1, HRS2) has a first planetary gear set and a second planetary gear set, wherein the first planetary gear set has a first sun gear, which is rotationally conjointly formed with the second shaft, a first planet carrier, which is rotationally conjointly formed with the third shaft, and a first ring gear, wherein the second planetary gear set has a second sun gear, which is rotationally conjointly formed with the fourth shaft, a second planet carrier, which is rotationally conjointly formed with the fifth shaft, and a second ring gear, wherein the first planet carrier is rotationally conjointly connected to the second ring gear, wherein the first ring gear is rotationally conjointly connected to the second planet carrier, wherein the second partial transmission has a third planetary gear set, wherein the third planetary gear set has a third sun gear, which is rotationally conjointly formed with the fourth shaft, a third planet carrier, which is rotationally conjointly formed with the first shaft, and a third ring gear, which is rotationally conjointly formed with the sixth shaft, wherein the third sun gear is rotationally conjointly connected to the second sun gear, wherein the first shaft forms an input shaft of the transmission and is designed for connecting to pedal cranks of a bicycle, wherein the fifth shaft forms an output shaft of the transmission, wherein a first brake is connected to the sixth shaft, whereby the sixth shaft is rotationally conjointly connectable to the housing by means of the first brake; wherein the second shaft is rotationally conjointly connectable to the housing by means of a second brake; wherein the first planetary gear set, the second planetary gear set and the third planetary gear set are each designed as a single minus planetary gear set, and wherein the first freewheel locks the third shaft and the second freewheel locks the fourth shaft in the same directions of rotation relative to the first shaft. wherein the first partial transmission (HRS1, HRS2) has a first planetary gear set and a second planetary gear set, wherein the first planetary gear set has a first sun gear, which is rotationally conjointly formed with the second shaft, a first planet carrier, which is rotationally conjointly formed with the third shaft, and a first ring gear, wherein the second planetary gear set has a second sun gear, which is rotationally conjointly formed with the fourth shaft, a second planet carrier, which is rotationally conjointly formed with the fifth shaft, and a second ring gear, wherein the first planet carrier is rotationally conjointly connected to the second ring gear, wherein the first ring gear is rotationally conjointly connected to the second planet carrier, wherein the second partial transmission has a third planetary gear set, wherein the third planetary gear set has a third sun gear, which is rotationally conjointly formed with the fourth shaft, a third planet carrier, which is rotationally conjointly formed with the first shaft, and a third ring gear, which is rotationally conjointly formed with the sixth shaft, wherein the third sun gear is rotationally conjointly connected to the second sun gear, wherein the first shaft forms an input shaft of the transmission and is designed for connecting to pedal cranks of a bicycle, wherein the fifth shaft forms an output shaft of the transmission, wherein a first brake is connected to the sixth shaft, whereby the sixth shaft is rotationally conjointly connectable to the housing by means of the first brake; wherein the second shaft is rotationally conjointly connectable to the housing by means of a second brake; wherein the first planetary gear set, the second planetary gear set and the third planetary gear set are each designed as a single minus planetary gear set, and wherein the first freewheel locks the third shaft and the second freewheel locks the fourth shaft in the same directions of rotation relative to the first shaft.