The Bit Rate Calculation Tool from PEAK-System allows you to find the right CAN controller values for a given bit rate based on various parameters. It is possible to do this for CAN, CAN with flexible data rate (CAN FD), and also for ageless chip types like SJA1000.