Stack Overflow Developer Survey 2026
Relationship to writing code by employment status
In the Employed group, 82% answered “I create code as a primary part of my job”; in the Retired group, 29% did. Across the table the answers differ by employment status, a medium association: χ²(20, N = 30794) = 4531.69, p < .001, V = .19. These are unweighted respondents, not population estimates.
How results are checked
Named statistical review pending. Selected automated reference cases are published on the validation page.The table
The table
Question asked: Are you someone who creates code? Please select one of the following options that best describes you today.
Shown by employment status, as column percentages with the number of respondents beneath.
| Relationship to writing code | Employed (A) | I prefer not to say (B) | Independent contractor, freelancer, or self-employed (C) | Not employed (D) | Retired (E) | Student (F) | All |
|---|---|---|---|---|---|---|---|
| I create code as a primary part of my job | 82.2%BCDEF16,617 | 38.8%E205 | 78.4%BDEF3,603 | 56.8%BE985 | 29.4%177 | 52.9%BE1,647 | 75.4%23,234 |
| I create code occasionally | 10.1%2,038 | 25.9%AC137 | 12.6%A581 | 28.1%AC487 | 46.8%ABCDF282 | 39.1%ABCD1,218 | 15.4%4,743 |
| I do not create code | 1.3%271 | 23.6%ACDF125 | 2.7%A126 | 9.5%ACF164 | 17.3%ACDF104 | 4.9%AC154 | 3.1%944 |
| I manage or support people who create code | 4.2%F855 | 7.4%ACDEF39 | 4.0%F183 | 2.9%F50 | 2.5%F15 | 0.9%28 | 3.8%1,170 |
| I review/maintain code but rarely create it | 2.2%440 | 4.3%ACF23 | 2.2%101 | 2.7%47 | 4.0%A24 | 2.2%68 | 2.3%703 |
| Respondents | 20,221 | 529 | 4,594 | 1,733 | 602 | 3,115 | 30,794 |
A letter beside a percentage names the columns it is significantly higher than (uppercase 95%, lowercase 90%; pairwise column tests, Bonferroni-corrected). 109 of 30,903 respondents have no answer to one of the two questions (not asked or not answered) and are left out.
Analysis
Results
Chi-square test
χ² = 4531.69
df = 20, p < .001
Effect size
Cramér's V = 0.192
a medium association
APA-style report: χ²(20, N = 30794) = 4531.69, p < .001, V = .19. N = 30,794. Smallest expected count 12.1.
How to read it
The chi-square test rejects independence at the 0.05 level (p < .001): differences this large between the groups are unlikely if the answer did not depend on employment status. Cramér's V of 0.192 is in the medium range, which is of moderate strength: a clearly visible pattern in the table.
With 30,794 respondents, even small differences reach statistical significance. Read the percentages and the effect size before the p-value.
Limits
- The survey has no weights. These tables are unweighted counts of the people who answered, so they describe the respondents, not developers in general.
- The test treats respondents as a simple random sample. They are people who chose to answer a survey Stack Overflow promoted, not a random sample of developers, so a result holds for these respondents and may not hold beyond them.
- A difference between groups is not evidence that group membership causes the answer.
Next steps
Work with this table
Open this table in the calculator
The link fills in every count and label. Merge answers, drop a group, and the statistics update.
Open this question in the full file
The workspace opens all 30,903 respondents in your browser with this question selected. The survey has no weights, so the table there is unweighted too. Change the group, add a filter or export from there.
Open in the workspace →Run this on your own data — free, no signup
Upload a CSV, Excel, SPSS, Stata, SAS, R, Parquet or JSON file. Everything runs in your browser; your file never leaves your device.
Open the workspace →The same question by other groups
Other questions that differ by employment status
- Other work, school or life responsibilities by employment status
- Role in choosing software tools by employment status
- How they learned to code in the past year by employment status
- Activities in a typical work week by employment status
- How they learned to code for AI in the past year by employment status
- Involvement in building internal tools by employment status
Source
Stack Overflow. 2026 Developer Survey, https://survey.stackoverflow.co/2026, licensed under the ODbL 1.0. Tabulated by crosstabs.com. Variables CodeMain (Relationship to writing code) and Employment. Stack Overflow licenses the survey data under the Open Database License (ODbL) 1.0 and its contents under the Database Contents License (DbCL) 1.0: credit Stack Overflow, keep the licence notice, and share any database made from the data under the ODbL. These tables and their downloads are offered on those terms.