XML 105 R86.htm IDEA: XBRL DOCUMENT v3.22.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, 2021
Dec. 31, 2020
Dec. 31, 2019
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Risk-free interest rate 0.30% 0.70% 2.50%
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.84 0.77 0.71
Weighted average fair value per share (in dollars per share) $ 238.87 $ 245.08 $ 238.99
Ansys Stock Price      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Expected volatility 36.00% 25.00% 23.00%
Nasdaq Composite Index      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Expected volatility 26.00% 18.00% 16.00%