공무원 연가보상비 계산기
월봉급액과 미사용 연가일수를 입력해 공무원 연가보상비를 86% 기준으로 계산합니다.
입력값은 브라우저에서만 계산되며 서버로 전송되지 않습니다.
수당을 제외한 지급기준일 현재 월봉급액입니다.
6월 30일 기준으로 이미 보상받은 일수가 있으면 입력하세요. 없으면 0입니다.
기본 20일입니다. 소속 기관의 지급 상한이 다르면 수정하세요.
예상 연가보상비
860,000원
1일 86,000원 × 10.0일
- 월봉급액3,000,000원
- 1일 보상액 (86% ÷ 30)86,000원
- 미사용 연가10.0일
- 기지급0.0일
- 보상 대상10.0일
- 예상 보상비860,000원
| 구분 | 기준 |
|---|---|
| 1일 보상액 | 월봉급액 × 86% ÷ 30 |
| 6월 30일 지급 | 연가잔여일수 10일 이상이면 5일분 |
| 12월 31일 지급 | 잔여 연가일수에서 이미 지급한 5일분을 차감 |
| 퇴직 | 퇴직일 전일 월봉급액 기준, 6월 30일 이전 퇴직은 10일 이내 |
공무원수당 등에 관한 규정 제18조의5의 86% 기준을 적용한 참고 계산입니다. 교육공무원·중징계·직권면직 등 지급 제외 대상, 기관별 지급 상한, 퇴직·휴직·징계에 따른 감액은 반영하지 않습니다. 실제 지급액은 소속 기관의 인사·급여 기준을 확인하세요.
입력이 3초간 멈추면 이 브라우저에 자동 저장됩니다.
입력이 3초간 멈추면 이 브라우저에만 저장됩니다. 항목을 클릭하면 그때의 입력값으로 복원됩니다.
이 도구는 이렇게 계산합니다
결과를 믿기 전에 계산 원리와 가정을 확인하세요.
- 1일 보상액 = 월봉급액 × 86% ÷ 30.
- 실제 보상일수 = 미사용 연가일수 - 이미 지급받은 일수. 지급 상한(기본 20일)을 넘으면 상한까지만 반영합니다.
- 공무원수당 등에 관한 규정 제18조의5는 6월 30일과 12월 31일 기준 지급을 구분합니다. 퇴직·휴직·징계·기관별 상한은 별도로 확인해야 합니다.
자주 묻는 질문
연가보상비는 어떤 경우에 지급되나요?
공무원수당 등에 관한 규정 제18조의5에 따라 예산 범위에서 미사용 연가에 대해 지급합니다. 6월 30일 기준 연가잔여일수가 10일 이상이면 5일분을, 12월 31일에는 잔여일수에서 이미 지급한 5일분을 뺀 금액을 지급할 수 있습니다.
모든 공무원이 받을 수 있나요?
교육공무원(방학이 없는 기관 근무자는 제외), 중징계로 파면·해임된 사람, 일부 직권면직·당연퇴직자 등은 지급 대상에서 제외될 수 있습니다. 소속 기관과 개인 신분에 따라 확인해야 합니다.
지급 상한 20일은 어디서 나온 기준인가요?
실무에서 일반적으로 적용하는 상한을 기본값으로 두었습니다. 실제 상한·지급 시기·산정 방식은 소속 기관의 인사혁신처 지침과 예산 기준을 확인하세요.
제작 코드
이 페이지에서 실제로 사용하는 Vue 3 컴포넌트입니다. 계산식과 화면 구성을 그대로 확인하고 복사할 수 있습니다.
도구 전체 코드 보기
<script setup lang="ts">
import { computed, ref } from 'vue'
import { fmt, won } from '~/utils/calc'
import CalculatorHistory from '~/components/calculators/CalculatorHistory.vue'
const BASE_YEAR = 2026
const PAY_RATE = 0.86
const DEFAULT_CAP_DAYS = 20
const monthlySalary = ref(3000000)
const unusedDays = ref(10)
const alreadyPaidDays = ref(0)
const capDays = ref(DEFAULT_CAP_DAYS)
const salary = computed(() => Math.max(0, Math.floor(Number(monthlySalary.value) || 0)))
const unused = computed(() => Math.max(0, Number(unusedDays.value) || 0))
const paid = computed(() => Math.max(0, Number(alreadyPaidDays.value) || 0))
const cap = computed(() => Math.max(1, Math.floor(Number(capDays.value) || DEFAULT_CAP_DAYS)))
const remainingDays = computed(() => Math.max(0, unused.value - paid.value))
const eligibleDays = computed(() => Math.min(remainingDays.value, cap.value))
const dailyAmount = computed(() => Math.floor((salary.value * PAY_RATE) / 30))
const totalAmount = computed(() => Math.floor(dailyAmount.value * eligibleDays.value))
const capped = computed(() => remainingDays.value > cap.value)
const historySnapshot = computed(() => ({
monthlySalary: monthlySalary.value,
unusedDays: unusedDays.value,
alreadyPaidDays: alreadyPaidDays.value,
capDays: capDays.value,
}))
const historyLabel = computed(
() => `월봉급 ${fmt(salary.value / 10000, 0)}만원 · 미사용 ${fmt(unused.value, 0)}일 · 기지급 ${fmt(paid.value, 0)}일`,
)
function restoreHistory(data: Record<string, unknown>) {
monthlySalary.value = Number(data.monthlySalary) || 0
unusedDays.value = Number(data.unusedDays) || 0
alreadyPaidDays.value = Number(data.alreadyPaidDays) || 0
capDays.value = Number(data.capDays) || DEFAULT_CAP_DAYS
}
</script>
<template>
<div class="calc-card">
<div class="calc-base-year">{{ BASE_YEAR }}년 기준 · 공무원수당규정 제18조의5</div>
<div class="calc-grid">
<div class="calc-form">
<div class="calc-field">
<label for="leave-pay-salary">월봉급액</label>
<div class="calc-inline">
<input
id="leave-pay-salary"
v-model.number="monthlySalary"
class="calc-input"
type="number"
min="0"
step="10000"
inputmode="numeric"
/>
<span class="calc-unit">원</span>
</div>
<p class="calc-hint">수당을 제외한 지급기준일 현재 월봉급액입니다.</p>
</div>
<div class="calc-field">
<label for="leave-pay-unused">미사용 연가일수</label>
<div class="calc-inline">
<input
id="leave-pay-unused"
v-model.number="unusedDays"
class="calc-input"
type="number"
min="0"
step="0.5"
inputmode="decimal"
/>
<span class="calc-unit">일</span>
</div>
</div>
<div class="calc-field">
<label for="leave-pay-paid">이미 지급받은 일수</label>
<div class="calc-inline">
<input
id="leave-pay-paid"
v-model.number="alreadyPaidDays"
class="calc-input"
type="number"
min="0"
step="0.5"
inputmode="decimal"
/>
<span class="calc-unit">일</span>
</div>
<p class="calc-hint">6월 30일 기준으로 이미 보상받은 일수가 있으면 입력하세요. 없으면 0입니다.</p>
</div>
<div class="calc-field">
<label for="leave-pay-cap">지급 상한</label>
<div class="calc-inline">
<input
id="leave-pay-cap"
v-model.number="capDays"
class="calc-input"
type="number"
min="1"
step="1"
inputmode="numeric"
/>
<span class="calc-unit">일</span>
</div>
<p class="calc-hint">기본 20일입니다. 소속 기관의 지급 상한이 다르면 수정하세요.</p>
</div>
</div>
<div class="calc-result" aria-live="polite">
<p class="calc-result-label">예상 연가보상비</p>
<p class="calc-result-hero">{{ won(totalAmount) }}</p>
<p class="calc-result-sub">1일 {{ won(dailyAmount) }} × {{ fmt(eligibleDays, 1) }}일</p>
<ul class="calc-result-list">
<li class="calc-result-row"><span>월봉급액</span><strong>{{ won(salary) }}</strong></li>
<li class="calc-result-row"><span>1일 보상액 (86% ÷ 30)</span><strong>{{ won(dailyAmount) }}</strong></li>
<li class="calc-result-row"><span>미사용 연가</span><strong>{{ fmt(unused, 1) }}일</strong></li>
<li class="calc-result-row"><span>기지급</span><strong>{{ fmt(paid, 1) }}일</strong></li>
<li class="calc-result-row"><span>보상 대상</span><strong>{{ fmt(eligibleDays, 1) }}일</strong></li>
<li class="calc-result-row total"><span>예상 보상비</span><strong>{{ won(totalAmount) }}</strong></li>
</ul>
<p v-if="capped" class="calc-warning">
미사용 연가가 지급 상한 {{ cap }}일을 넘어 {{ cap }}일까지만 반영했습니다.
</p>
</div>
</div>
<div class="calc-table-wrap">
<table class="calc-table">
<caption class="sr-only">연가보상비 계산 기준</caption>
<thead>
<tr><th>구분</th><th>기준</th></tr>
</thead>
<tbody>
<tr><td>1일 보상액</td><td>월봉급액 × 86% ÷ 30</td></tr>
<tr><td>6월 30일 지급</td><td>연가잔여일수 10일 이상이면 5일분</td></tr>
<tr><td>12월 31일 지급</td><td>잔여 연가일수에서 이미 지급한 5일분을 차감</td></tr>
<tr><td>퇴직</td><td>퇴직일 전일 월봉급액 기준, 6월 30일 이전 퇴직은 10일 이내</td></tr>
</tbody>
</table>
</div>
<p class="calc-note">
공무원수당 등에 관한 규정 제18조의5의 86% 기준을 적용한 참고 계산입니다.
교육공무원·중징계·직권면직 등 지급 제외 대상, 기관별 지급 상한, 퇴직·휴직·징계에 따른 감액은 반영하지 않습니다.
실제 지급액은 소속 기관의 인사·급여 기준을 확인하세요.
</p>
</div>
<CalculatorHistory tool="public-leave-pay" :snapshot="historySnapshot" :label="historyLabel" @restore="restoreHistory" />
</template>
공통 입력 기록 컴포넌트 보기
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
interface HistoryEntry {
id: string
at: number
label: string
data: Record<string, unknown>
}
const props = defineProps<{
tool: string
snapshot: Record<string, unknown>
label: string
}>()
const emit = defineEmits<{ restore: [data: Record<string, unknown>] }>()
const MAX_ENTRIES = 8
const SAVE_DELAY = 3000
const entries = ref<HistoryEntry[]>([])
const ready = ref(false)
const restoredId = ref('')
const storageKey = computed(() => `euninfo.calc-history.v1:${props.tool}`)
let saveTimer: ReturnType<typeof setTimeout> | undefined
let initialTimer: ReturnType<typeof setTimeout> | undefined
let initialSnapshot = ''
onMounted(() => {
load()
ready.value = true
// 부모의 onMounted 기본값 주입(날짜 등) 뒤에 초기 상태를 캡처한다.
initialTimer = setTimeout(() => {
initialSnapshot = JSON.stringify(props.snapshot)
}, 0)
})
onBeforeUnmount(() => {
if (saveTimer) clearTimeout(saveTimer)
if (initialTimer) clearTimeout(initialTimer)
})
watch(
() => props.snapshot,
() => {
if (!ready.value) return
if (saveTimer) clearTimeout(saveTimer)
saveTimer = setTimeout(save, SAVE_DELAY)
},
{ deep: true },
)
function load() {
try {
const raw = localStorage.getItem(storageKey.value)
if (!raw) return
const parsed: unknown = JSON.parse(raw)
if (!Array.isArray(parsed)) return
entries.value = parsed
.filter((item): item is HistoryEntry => {
if (!item || typeof item !== 'object') return false
const entry = item as Partial<HistoryEntry>
return typeof entry.id === 'string' && typeof entry.at === 'number' && typeof entry.label === 'string' && !!entry.data && typeof entry.data === 'object'
})
.slice(0, MAX_ENTRIES)
} catch {
entries.value = []
}
}
function persist() {
try {
localStorage.setItem(storageKey.value, JSON.stringify(entries.value))
} catch {
// 저장 공간이 없거나 브라우저가 막은 경우 조용히 무시한다.
}
}
function save() {
const data = JSON.parse(JSON.stringify(props.snapshot)) as Record<string, unknown>
const json = JSON.stringify(data)
if (!entries.value.length && json === initialSnapshot) return
const now = Date.now()
const label = props.label.trim() || '최근 입력'
const existing = entries.value.find((entry) => JSON.stringify(entry.data) === json)
if (existing) {
existing.at = now
existing.label = label
entries.value = [existing, ...entries.value.filter((entry) => entry.id !== existing.id)]
} else {
entries.value = [
{
id: `${now}-${Math.random().toString(36).slice(2, 8)}`,
at: now,
label,
data,
},
...entries.value,
].slice(0, MAX_ENTRIES)
}
persist()
}
function restore(entry: HistoryEntry) {
emit('restore', JSON.parse(JSON.stringify(entry.data)) as Record<string, unknown>)
restoredId.value = entry.id
setTimeout(() => {
if (restoredId.value === entry.id) restoredId.value = ''
}, 1500)
}
function remove(id: string) {
entries.value = entries.value.filter((entry) => entry.id !== id)
persist()
}
function clear() {
entries.value = []
try {
localStorage.removeItem(storageKey.value)
} catch {
// ignore
}
}
function formatTime(at: number) {
return new Intl.DateTimeFormat('ko-KR', {
month: 'numeric',
day: 'numeric',
hour: '2-digit',
minute: '2-digit',
}).format(new Date(at))
}
</script>
<template>
<section class="calc-history" aria-label="최근 입력 기록">
<div class="calc-history-head">
<strong>최근 입력</strong>
<span class="calc-history-count">{{ entries.length }}/{{ MAX_ENTRIES }}</span>
<button v-if="entries.length" type="button" class="calc-history-clear" @click="clear">전체 삭제</button>
</div>
<p v-if="!entries.length" class="calc-history-empty">
입력이 3초간 멈추면 이 브라우저에 자동 저장됩니다.
</p>
<ul v-else class="calc-history-list">
<li v-for="entry in entries" :key="entry.id" class="calc-history-row" :class="{ restored: restoredId === entry.id }">
<button type="button" class="calc-history-load" :aria-label="`${entry.label} 입력값 불러오기`" @click="restore(entry)">
<span class="calc-history-label">{{ entry.label }}</span>
<time class="calc-history-time">{{ formatTime(entry.at) }}</time>
</button>
<button type="button" class="calc-history-remove" :aria-label="`${entry.label} 기록 삭제`" @click="remove(entry.id)">×</button>
</li>
</ul>
<p class="calc-history-note">
입력이 3초간 멈추면 이 브라우저에만 저장됩니다. 항목을 클릭하면 그때의 입력값으로 복원됩니다.
</p>
</section>
</template>
함께 쓰면 좋은 도구
우리 업무에 맞는 계산기·관리 도구를 함께 만들 수 있습니다.
