The Titanic, a British passenger liner, had a maximum designed speed of around 23-24 knots (about 26-28 miles per hour or 41-45 kilometers per hour). However, its normal cruising speed during its ill-fated voyage was around 21 knots (24 miles per hour or 39 kilometers per hour).
It is worth noting that the Titanic did not have the capability to exceed its maximum designed speed like the Carpathia, which you mentioned. The Carpathia was a different ship that was not involved in the Titanic disaster. It was a Cunard Line passenger vessel and happened to be the ship that responded to Titanic's distress calls and rescued the survivors.
The Titanic's fate was sealed in part because it was sailing at a high speed in icy waters, which made it difficult for the crew to spot and avoid icebergs in time. The ship struck an iceberg on the night of April 14, 1912, and tragically sank in the early hours of April 15, 1912.