How to analyze questionnaire data: a step-by-step workflow
Analyzing a questionnaire is more than running significance tests. This guide follows one employee survey from planning the sample to reporting the results: reliability checks, choosing the test for each pair of variables, effect sizes with confidence intervals and the many-tests problem, with a free calculator for every step.
The workflow at a glance
Most questionnaire studies follow the same path: decide how many responses you need, prepare the data, check that multi-item scales are reliable, describe the sample, test the relationships you planned, report effect sizes with confidence intervals, and deal with the many tests a questionnaire invites. Skipping a step usually shows up later as a reviewer's question. This guide walks through each step with one running example, an employee survey that includes a five-item job satisfaction scale, and links to a free calculator for each calculation.
- Plan the sample: margin of error for descriptive results, power for comparisons.
- Prepare the data: reverse-score items, handle missing answers, build scale scores.
- Check reliability: Cronbach's alpha and item statistics.
- Describe the sample and the main variables.
- Test relationships with the method that matches the type of each variable.
- Report effect sizes and confidence intervals, not only p-values.
- Control for multiple comparisons when you run many tests.
Step 1: Plan how many responses you need
A questionnaire usually has two kinds of aims, and they need different sample size calculations.
Descriptive aims, such as the share of employees who are satisfied, depend on the margin of error. For ±5 percentage points at 95% confidence in a company of 1,200 employees, you need 292 completed responses. At an expected response rate of 40%, that means inviting 730 people. The survey sample size calculator does this calculation, including the correction for a small population.
Comparisons, such as whether satisfaction differs between office and remote staff, depend on statistical power. To detect a small-to-medium difference of d = 0.3 with 80% power, you need 176 people in each group. If one group is likely to be much smaller, plan around that group. The power analysis calculator covers t tests, correlations, regression and ANOVA, and the effect size guide explains how to choose the effect to plan for.
Take the larger of the two numbers, and remember that a low response rate is a bias problem as well as a numbers problem: inviting more people does not make respondents more like non-respondents.
Step 2: Prepare the data
- Reverse-score negatively worded items before anything else. On a 1–5 scale the reversed score is 6 minus the answer; in general, minimum plus maximum minus the answer.
- Check for impossible values, straight-lining (the same answer to every item) and implausibly fast completion times.
- Decide how to treat missing answers. Listwise deletion is simple but loses cases; computing a scale score from the available items is common when only one or two items are missing. Whatever you choose, report it.
- Build scale scores as the mean or sum of the items, only after checking reliability in step 3.
Step 3: Check the reliability of each scale
Multi-item scales are only useful if their items measure the same thing consistently. Cronbach's alpha is the standard first check. In a pilot of 12 employees, the satisfaction scale scored as entered gives alpha = 0.04, and item 3 correlates negatively with the other items (-0.81). Item 3 is negatively worded and had not been reversed. After reverse-scoring it, alpha is 0.86, 95% CI [0.67, 0.95].
The item table also shows that item 4 is the weakest (corrected item–total r = 0.34). That is a prompt to reread its wording, not an instruction to delete it: removing items to push alpha up in one sample capitalises on chance. Paste your own data into the Cronbach's alpha calculator to get the same item table.
Alpha assumes all items load equally on one factor. If a confirmatory factor analysis shows otherwise, report composite reliability (omega) and the average variance extracted with the composite reliability calculator. If several people rate the same cases on a continuous scale, use the intraclass correlation instead.
Step 4: Describe the sample and variables
Report the number of invitations and completed responses, the response rate, and the characteristics of respondents compared with the population where you know them. For categorical questions give counts and percentages; for scale scores give the mean, standard deviation and range. A percentage from a sample should come with its margin of error: 60% satisfied from 300 respondents is roughly ±5.5 points at 95% confidence.
Step 5: Test relationships with the right method
The method depends on the type of the two variables involved.
| Variables | Test | Effect size |
|---|---|---|
| Two categorical (department × preferred working pattern) | Chi-square test; Fisher's exact test for small 2 × 2 tables | Cramér's V, φ, odds ratio |
| Categorical with 2 groups × scale score | Independent t test | Cohen's d or Hedges' g |
| Categorical with 3+ groups × scale score | One-way ANOVA | η², ω² |
| Two scale scores | Pearson correlation (Spearman for skewed scores) | r |
| Does a relationship depend on a third variable? | Regression with an interaction term | Simple slopes |
Example: two categorical questions. Cross-tabulating three departments against three preferred working patterns gives χ²(4, N = 175) = 23.78, p < .001, Cramér's V = 0.26, a medium association for a 3 × 3 table. The adjusted residuals show where it comes from: the first department is over-represented in the first pattern (residual 4.46). The chi-square calculator gives these residuals for every cell and warns when expected counts are too small.
Comparing correlations between groups. If satisfaction correlates with workload more strongly among remote staff than office staff, test the difference directly with the correlation comparison calculator; a significant correlation in one group and a non-significant one in the other is not evidence of a difference.
Moderation. If the effect of workload on satisfaction depends on tenure, fit a regression with a workload × tenure term and probe it with simple slopes and the Johnson–Neyman technique.
Step 6: Report effect sizes and confidence intervals
A p-value says whether an effect is distinguishable from zero; it says nothing about how large it is. With hundreds of respondents almost any difference becomes significant. Suppose office staff (n = 120) score higher on satisfaction than remote staff (n = 95), t(213) = 2.40, p = .017. The effect is d = 0.33, 95% CI [0.06, 0.60]: a small difference, estimated with considerable uncertainty. That is a very different message from "a significant difference".
When a paper or your software reports only the test statistic, the effect size from t or F calculator recovers d, g or partial η² with exact confidence intervals, and the p-value calculator recomputes the p-value as a consistency check.
Step 7: Control for multiple comparisons
Questionnaires invite many tests: every item against every demographic group. At α = .05, ten tests on data with no real effects give about a 40% chance of at least one false positive. Decide which tests are confirmatory before looking at the data, and adjust the p-values of each family of exploratory tests.
In the employee survey, comparing ten items between office and remote staff gave 6 p-values below .05. After Holm's correction, which controls the chance of any false positive, 2 remain significant; after the Benjamini–Hochberg correction, which controls the share of false discoveries, 4 remain. Holm suits a few planned comparisons; Benjamini–Hochberg suits a larger exploratory set. Paste your p-values into the multiple comparisons calculator to see seven methods side by side.
Reporting checklist
- Sampling: population, invitations, completed responses, response rate and how missing answers were handled.
- Measures: each scale's items, response format, reverse-scored items and reliability with its confidence interval, for example "α = .86, 95% CI [.67, .95]".
- Results: the test, its statistic, degrees of freedom and exact p-value, for example "χ²(4, N = 175) = 23.78, p < .001, V = .26".
- Effect sizes with confidence intervals for every main result.
- Which tests were planned, which were exploratory, and how multiple comparisons were handled.
- Limitations: response rate, self-report bias and, for a cross-sectional survey, the fact that associations do not establish cause.
Each calculator linked above states its formulas and has been checked against established statistical software, so you can cite the method rather than the tool.