XML 101 R83.htm IDEA: XBRL DOCUMENT v3.24.0.1
Stock-Based Compensation - Assumptions to Estimate Fair Value of Stock Awards (Details) - Restricted Stock Unit Compensation Expense - $ / shares
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Risk-free interest rate 4.60% 1.80% 0.30%
Expected dividend yield 0.00% 0.00% 0.00%
Expected term (in years) 2 years 9 months 18 days 2 years 9 months 18 days 2 years 9 months 18 days
Correlation factor 0.83 0.84 0.84
Weighted average fair value per share (in dollars per share) $ 452.14 $ 290.65 $ 238.87
Ansys Stock Price      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Expected volatility 36.00% 37.00% 36.00%
Nasdaq Composite Index      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Expected volatility 25.00% 26.00% 26.00%