Do not partition a Time Machine drive for any other usage. The Time Machine drive should be 2 - 3x the size of your Mac's internal storage capacity, and for macOS Big Sur and later, should be formatted as APFS using Disk Utility.
People think in base 10 and thus want to think 1000 bytes (e.g. 10³), but computers use base 2 numeration and so 1024 is 2¹⁰. We want to use kilo to express units of 1000 but a kilobyte of drive storage is a kibibyte (KiB) whose value is 1024. And it follows, with mebibyte (MiB = 1048576), gibibyte (GiB = 1073741824), and tebibyte (TiB = 1099511627776). You can dispense with the math and follow the TM drive sizing in the first paragraph.