Condensed Consolidated Statements of Equity (Unaudited) - USD ($) | Total | Common stock | Additional paid-in capital | Retained earnings | Treasury stock | TSR, Inc. equity | Non- controlling interest |
Balance at May. 31, 2021 | $ 5,421,052 | $ 31,142 | $ 5,339,200 | $ 13,540,822 | $ (13,514,003) | $ 5,397,161 | $ 23,891 |
Balance (in Shares) at May. 31, 2021 | | 3,114,163 | | | | | |
Net income attributable to noncontrolling interest | 57,492 | | | | | | 57,492 |
Distribution to noncontrolling interest | (1,750) | | | | | | (1,750) |
Non-cash stock compensation | 177,249 | | 177,249 | | | 177,249 | |
Net income (loss) attributable to TSR, Inc. | 6,401,543 | | | 6,401,543 | | 6,401,543 | |
Balance at Aug. 31, 2021 | 12,055,586 | $ 31,142 | 5,516,449 | 19,942,365 | (13,514,003) | 11,975,953 | 79,633 |
Balance (in Shares) at Aug. 31, 2021 | | 3,114,163 | | | | | |
Net income attributable to noncontrolling interest | 11,789 | | | | | | 11,789 |
Distribution to noncontrolling interest | (25,640) | | | | | | (25,640) |
Non-cash stock compensation | 177,249 | | 177,249 | | | 177,249 | |
Net income (loss) attributable to TSR, Inc. | 243,036 | | | 243,036 | | 243,036 | |
Balance at Nov. 30, 2021 | 12,462,020 | $ 31,142 | 5,693,698 | 20,185,401 | (13,514,003) | 12,396,238 | 65,782 |
Balance (in Shares) at Nov. 30, 2021 | | 3,114,163 | | | | | |
Net income attributable to noncontrolling interest | 3,129 | | | | | | 3,129 |
Proceeds of sales of stock through ATM | 1,821,090 | $ 1,425 | 1,819,665 | | | 1,821,090 | |
Proceeds of sales of stock through ATM (in Shares) | | 142,500 | | | | | |
Non-cash stock compensation | 141,238 | | 141,238 | | | 141,238 | |
Vested stock awards and taxes paid | (91,904) | $ 419 | (92,323) | | | (91,904) | |
Vested stock awards and taxes paid (in Shares) | | 41,886 | | | | | |
Net income (loss) attributable to TSR, Inc. | (46,611) | | | (46,611) | | (46,611) | |
Balance at Feb. 28, 2022 | 14,288,962 | $ 32,986 | 7,562,278 | 20,138,790 | (13,514,003) | 14,220,051 | 68,911 |
Balance (in Shares) at Feb. 28, 2022 | | 3,298,549 | | | | | |
Balance at May. 31, 2022 | 14,532,565 | $ 32,986 | 7,473,866 | 20,470,042 | (13,514,003) | 14,462,891 | 69,674 |
Balance (in Shares) at May. 31, 2022 | | 3,298,549 | | | | | |
Net income attributable to noncontrolling interest | 12,997 | | | | | | 12,997 |
Non-cash stock compensation | 69,216 | | 69,216 | | | 69,216 | |
Net income (loss) attributable to TSR, Inc. | 494,746 | | | 494,746 | | 494,746 | |
Balance at Aug. 31, 2022 | 15,109,524 | $ 32,986 | 7,543,082 | 20,964,788 | (13,514,003) | 15,026,853 | 82,671 |
Balance (in Shares) at Aug. 31, 2022 | | 3,298,549 | | | | | |
Net income attributable to noncontrolling interest | 13,055 | | | | | | 13,055 |
Non-cash stock compensation | 69,216 | | 69,216 | | | 69,216 | |
Purchases of treasury stock | (116,426) | | | | (116,426) | (116,426) | |
Net income (loss) attributable to TSR, Inc. | 673,833 | | | 673,833 | | 673,833 | |
Balance at Nov. 30, 2022 | 15,749,202 | $ 32,986 | 7,612,298 | 21,638,621 | (13,630,429) | 15,653,476 | 95,726 |
Balance (in Shares) at Nov. 30, 2022 | | 3,298,549 | | | | | |
Net income attributable to noncontrolling interest | 18,107 | | | | | | 18,107 |
Distribution to noncontrolling interest | (75,348) | | | | | | (75,348) |
Non-cash stock compensation | 54,653 | | 54,653 | | | 54,653 | |
Purchases of treasury stock | (64,043) | | | | (64,043) | (64,043) | |
Vested stock awards | | $ 240 | (240) | | | | |
Vested stock awards (in Shares) | | 23,978 | | | | | |
Net income (loss) attributable to TSR, Inc. | 79,640 | | | 79,640 | | 79,640 | |
Balance at Feb. 28, 2023 | $ 15,762,211 | $ 33,226 | $ 7,666,711 | $ 21,718,261 | $ (13,694,472) | $ 15,723,726 | $ 38,485 |
Balance (in Shares) at Feb. 28, 2023 | | 3,322,527 | | | | | |