Method for calculating a route taking into consideration speed profiles along the route, the method comprising: - obtaining an initial graph that maps a road network and consists of nodes (150, 151a-151d) and edges (160a-160d), wherein the edges (160a-160d) connect different nodes (150, 151a-151d), the edges (160a-160d) being associated with a speed of travel, - transforming the initial graph into a result graph, wherein the result graph contains edges (161a, 161b, 161c) added for at least one particular node of the initial graph, the particular node being connected to at least three edges (160a, 160b, 160c) and corresponding to an intersection having a branching of paths, wherein each input edge (160a; 160b) of the at least one node is divided into two edges (160aa, 160ab; 160ba, 160bb) connected by a respective division node (151e; 151f), wherein each output edge of the at least one particular node is divided into two edges (160ca, 160cb) connected by a respective division node, wherein the added edges (161a, 161b, 161c) connect all division nodes (151e; 151f, 151g) of each input edge (160a; 160b) and each output edge to one another, wherein the speed of travel of each input edge (160a; 160b) and the speed of travel of each output edge indicate a change of speed, - determining weights for the edges (160aa, 160ba, 160cb, 160d, 161a, 161b, 161c) of the result graph from the associated speeds of travel, wherein the weights for each added edge (161a, 161b, 161c) are determined based on a speed profile that takes into consideration the speed of travel of the associated input edge (160a; 160b) and of the associated output edge and the associated change of speed, wherein the adding of the added edges (161a, 161b, 161c) assigns distance-dependent weights of the edges (160a, 160b, 160c) connected to the particular node to the added edges (161a, 161b, 161c) as distance-independent weights, - removing the particular node from the result graph, - calculating the route based on the result graph and taking into consideration the determined weights by means of a route calculation algorithm. - obtaining an initial graph that maps a road network and consists of nodes (150, 151a-151d) and edges (160a-160d), wherein the edges (160a-160d) connect different nodes (150, 151a-151d), the edges (160a-160d) being associated with a speed of travel, - transforming the initial graph into a result graph, wherein the result graph contains edges (161a, 161b, 161c) added for at least one particular node of the initial graph, the particular node being connected to at least three edges (160a, 160b, 160c) and corresponding to an intersection having a branching of paths, wherein each input edge (160a; 160b) of the at least one node is divided into two edges (160aa, 160ab; 160ba, 160bb) connected by a respective division node (151e; 151f), wherein each output edge of the at least one particular node is divided into two edges (160ca, 160cb) connected by a respective division node, wherein the added edges (161a, 161b, 161c) connect all division nodes (151e; 151f, 151g) of each input edge (160a; 160b) and each output edge to one another, wherein the speed of travel of each input edge (160a; 160b) and the speed of travel of each output edge indicate a change of speed, - determining weights for the edges (160aa, 160ba, 160cb, 160d, 161a, 161b, 161c) of the result graph from the associated speeds of travel, wherein the weights for each added edge (161a, 161b, 161c) are determined based on a speed profile that takes into consideration the speed of travel of the associated input edge (160a; 160b) and of the associated output edge and the associated change of speed, wherein the adding of the added edges (161a, 161b, 161c) assigns distance-dependent weights of the edges (160a, 160b, 160c) connected to the particular node to the added edges (161a, 161b, 161c) as distance-independent weights, - removing the particular node from the result graph, - calculating the route based on the result graph and taking into consideration the determined weights by means of a route calculation algorithm.